git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2007-10-27 12:27:54 +00:00
parent 599576c7a5
commit 558820fd08

View File

@@ -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;
};