I am updating an old code. I am not sure whether I am on right track, but…
- An dialog window resizes by itself. Step by step follow shows correct size until it comes to
rv = wx.PyApp.MainLoop(self)and resizes (very small), everything squashed
- An error
Adding a window already in a sizer, detach it first!, when article is changed to something else.pops out at
sizerA.Add(self.notebook_1,...)where sizerA is empty. Also, detaching notebook_1 by
sizerA.Detach(self.notebook_1)does not work. notebook_1 is wx.Notebook(…).
- Thers is no other error message.
Tracing execution steps, both problems happen after
Following this page,, wx.CallAfter is tried, resulting an error.
Where can I find a documentation
notebook.DeleteAllPages() ? Changelog (5-Jan-2019) says it is declared. I can find DeleteAllPages in several other subclasses.
wxpython version is 4.2.1 gtk3 (phoemix) wxwidgets 3.2.2
I appreciate any suggestion.
Thank you in advance.