X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2978a784f5f8939d1fe9de29c7c4f22336fd5c93..52170c5b4419c63d6e0083df411aad420395ec98:/include/wx/textentry.h diff --git a/include/wx/textentry.h b/include/wx/textentry.h index e8e4e2b714..9ebbdeb5bc 100644 --- a/include/wx/textentry.h +++ b/include/wx/textentry.h @@ -144,6 +144,7 @@ protected: wxTextEntryBase *m_text; bool m_suppress; }; + friend class EventsSuppressor; // return true if the events are currently not suppressed bool EventsAllowed() const { return m_eventsBlock == 0; } @@ -171,9 +172,6 @@ private: // initially the generation of the events is enabled virtual void EnableTextChangedEvents(bool WXUNUSED(enable)) { } - - friend class EventsSuppressor; - // if this counter is non-null, events are blocked unsigned m_eventsBlock; };