Hi again!
With a now functional wxPython 4.0.0(rc1) build on Ubuntu 17.10, I tried Phoenix-migrating my XRC-related code.
Starting from the code generated by pywxrc, I tried to implement the following parts of the migration guide:
https://docs.wxpython.org/MigrationGuide.html#overloaded-functionshttps://docs.wxpython.org/MigrationGuide.html#phase-createhttps://docs.wxpython.org/MigrationGuide.html#xrcWith the modified code (attached), the window is shown and basically works. However, there are lots of "GDK_IS_WINDOW (window)" assertion failures and "ScreenToClient cannot work when toplevel window is not shown" messages on the console. Seems like there is a stray top-level window somewhere, and the one showing is not properly initialized?
What other changes are needed to make this XRC example work in Phoenix?
Will pywxrc be updated to generate Phoenix-compatible wrapper code?
Thanks in advance!
André