+ // there are the overridden wxTextEntry methods which should only be called
+ // when we do have an edit control so they assert if this is not the case
+ virtual wxWindow *GetEditableWindow();
+ virtual WXHWND GetEditHWND() const;
+
+ // common part of all ctors
+ void Init()
+ {
+ m_allowTextEvents = true;
+ }
+
+ // normally true, false if text events are currently disabled
+ bool m_allowTextEvents;
+