Hi,
I am rewriting a large application to use wx.aui. It works very well but upon terminating I get an assertion error:
File “/Users/ck/devel/peak-o-mat/branches/aui/peak_o_mat/mainframe.py”, line 254, in start
wx.GetApp().MainLoop()
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/wx/core.py”, line 2134, in MainLoop
rv = wx.PyApp.MainLoop(self)
wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at /Users/robind/projects/buildbots/macosx-vm6/dist-osx-py37/Phoenix/ext/wxWidgets/src/common/wincmn.cpp(478) in ~wxWindowBase(): any pushed event handlers must have been removed
``
This happens on both OSX and MSW but on the latter in addition python crashes.
python3.7, wxpython-4.0.4
What does that message mean? Have I take care of removing those event handlers by myself? And if yes, how?
Regards, Chrsitian