an0malaus opened this issue on Oct 14, 2019 ยท 9 posts
an0malaus posted Mon, 14 October 2019 at 12:07 PM
Gotta compare eggs with eggs. It's a different wx version, and there were substantial changes between wx 2.9.1 and 3.0. Probably even moreso between wxMAC and wxGTK.
Anyway, the kind of error you're seeing is exactly the same as what I had if I tried to instantiate a wx.lib.agw.aui.AuiNotebook, without having a call to wxApp() (Prohibited in Poser as it breaks Poser's own event loop). Fortunately, the call wx.StockGDI._initStockObjects() is exactly the thing that was missing to correctly define wx.WHITE and all the other class objects that normally happens in wxApp().
Here's my working AuiNotebook example.
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.