// return true if the window was shown, false if hidden
bool IsShown() const { return m_show; }
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( bool GetShow() const { return IsShown(); } )
#endif
: wxEvent(event)
{ m_iconized = event.m_iconized; }
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( bool Iconized() const { return IsIconized(); } )
#endif
// return true if the frame was iconized, false if restored
// Is event handler enabled?
bool m_enabled;
+ // Avoid adding events from another thread during dtor
+ bool m_beingDeleted;
// The user data: either an object which will be deleted by the container