git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49599
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
public:
EventsSuppressor(wxTextEntryBase *text, bool suppress = true)
{
public:
EventsSuppressor(wxTextEntryBase *text, bool suppress = true)
+ : m_text(text),
+ m_suppress(suppress)
m_text->SuppressTextChangedEvents();
m_text->SuppressTextChangedEvents();
wxTextEntryBase *m_text;
bool m_suppress;
};
wxTextEntryBase *m_text;
bool m_suppress;
};
friend class EventsSuppressor;
// return true if the events are currently not suppressed
friend class EventsSuppressor;
// return true if the events are currently not suppressed