handle child destruction notifications in wxTLW itself and reset both normal and temporary default item pointers when the default window is destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -295,6 +295,11 @@ protected:
|
||||
static int WidthDefault(int w) { return w == wxDefaultCoord ? GetDefaultSize().x : w; }
|
||||
static int HeightDefault(int h) { return h == wxDefaultCoord ? GetDefaultSize().y : h; }
|
||||
|
||||
// reset m_winDefault and m_winTmpDefault if they point to the window being
|
||||
// destroyed
|
||||
void OnChildDestroy(wxWindowDestroyEvent& event);
|
||||
|
||||
|
||||
// the frame icon
|
||||
wxIconBundle m_icons;
|
||||
|
||||
|
Reference in New Issue
Block a user