From: Chris Elliott Date: Sat, 27 Oct 2007 12:27:54 +0000 (+0000) Subject: another DMC build fix (http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/558820fd083635d3e1dc026a56b2f14870cb5c38 another DMC build fix (http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; };