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
This commit is contained in:
@@ -144,6 +144,7 @@ protected:
|
|||||||
wxTextEntryBase *m_text;
|
wxTextEntryBase *m_text;
|
||||||
bool m_suppress;
|
bool m_suppress;
|
||||||
};
|
};
|
||||||
|
friend class EventsSuppressor;
|
||||||
|
|
||||||
// return true if the events are currently not suppressed
|
// return true if the events are currently not suppressed
|
||||||
bool EventsAllowed() const { return m_eventsBlock == 0; }
|
bool EventsAllowed() const { return m_eventsBlock == 0; }
|
||||||
@@ -171,9 +172,6 @@ private:
|
|||||||
// initially the generation of the events is enabled
|
// initially the generation of the events is enabled
|
||||||
virtual void EnableTextChangedEvents(bool WXUNUSED(enable)) { }
|
virtual void EnableTextChangedEvents(bool WXUNUSED(enable)) { }
|
||||||
|
|
||||||
|
|
||||||
friend class EventsSuppressor;
|
|
||||||
|
|
||||||
// if this counter is non-null, events are blocked
|
// if this counter is non-null, events are blocked
|
||||||
unsigned m_eventsBlock;
|
unsigned m_eventsBlock;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user