Now when you close the window you get an AssertionError. Apparently, we hit this assert in wxWidgets, checking that “Any additional event handlers should be popped before the window is deleted”.
Which is fine, except that I can’t remember wxPython Classic ever complaining about this. Maybe the old machinery did a better job at cleaning up? Or I always been lucky and never experienced a crash because of an orphan handler?
Now when you close
the window you get an AssertionError. Apparently, we hit this
assert in wxWidgets, checking that “Any additional event handlers should be popped before the window is deleted”.
Which is fine, except that I can’t remember wxPython Classic ever complaining about this. Maybe the old machinery did a better job at cleaning up? Or I always been lucky and never experienced a crash because of an orphan handler?
Probably just lucky. The assert wasn’t there until sometime in the 2.9 release series, IIRC. I’ve helped fix issues related to it in projects using wxPython Classic 3.0.x so I know there wasn’t anything hiding or protecting you from the assert in Classic. (Unless perhaps you were using a build that had assertions turned off.)
Now when you close
the window you get an AssertionError. Apparently, we hit this
assert in wxWidgets, checking that “Any additional event handlers should be popped before the window is deleted”.
Which is fine, except that I can’t remember wxPython Classic ever complaining about this. Maybe the old machinery did a better job at cleaning up? Or I always been lucky and never experienced a crash because of an orphan handler?
Probably just lucky. The assert wasn’t there until sometime in the 2.9 release series, IIRC. I’ve helped fix issues related to it in projects using wxPython Classic 3.0.x so I know there wasn’t anything hiding or protecting you from the assert in Classic. (Unless perhaps you were using a build that had assertions turned off.)