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; }
// 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;
};
-#ifdef __WXGTK20__
+#ifdef __WXUNIVERSAL__
+ // TODO: we need to use wxTextEntryDelegate here, but for now just prevent
+ // the GTK/MSW classes from being used in wxUniv build
+ class WXDLLIMPEXP_CORE wxTextEntry : public wxTextEntryBase
+ {
+ };
+#elif defined(__WXGTK20__)
#include "wx/gtk/textentry.h"
+#elif defined(__WXMSW__)
+ #include "wx/msw/textentry.h"
#else
// no platform-specific implementation of wxTextEntry yet
class WXDLLIMPEXP_CORE wxTextEntry : public wxTextEntryBase