Create a wxSmith sample (wxWidgets version > wx3.0) project with a wxAUIManager item will lead to a assert at closing the application:
src/common/wincmn.cpp(478):assert "GetEventHandler() == this" failed in ~wxWindowBase(): any pushed event handlers must have been removed"
this is a known "bug" in wxWidgets:
https://forums.wxwidgets.org/viewtopic.php?t=32138
fix for wxWidgets:
http://trac.wxwidgets.org/ticket/14145
this can be fixed by add a
wxAUIManager::UnInit() in the destructor of the application
i am working on a patch to add this in the code generator of wxSmith
It seems that there is no destructor code generation implemented in wxSmith this makes fixing it a LOT more work...
fix in this ticket: https://sourceforge.net/p/codeblocks/tickets/789/
Why don't you close this ticket as duplicate then?
Fix in this ticket: https://sourceforge.net/p/codeblocks/tickets/789/