X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d317fdebc3d51c4bf17e89b558ff1a6538bf225c..973b546e8eb626e3849f2a708b8fbac80727a094:/include/wx/event.h diff --git a/include/wx/event.h b/include/wx/event.h index 0f9ee90215..684d672419 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -1370,7 +1370,7 @@ public: // 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 @@ -1397,7 +1397,7 @@ public: : 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 @@ -2455,6 +2455,8 @@ protected: // 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