X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c84030e020e56735cb4b7c1534e99d21a8bb48c0..f18b5ee74c9d73879a6a03dd5d864e442c4793d3:/include/wx/osx/textentry.h diff --git a/include/wx/osx/textentry.h b/include/wx/osx/textentry.h index 14ab4a0f67..16f28e2189 100644 --- a/include/wx/osx/textentry.h +++ b/include/wx/osx/textentry.h @@ -33,8 +33,10 @@ class WXDLLIMPEXP_CORE wxTextEntry: public wxTextEntryBase public: wxTextEntry() + : m_editable(true), + m_maxLength(0) { } - + virtual ~wxTextEntry() {}; virtual bool IsEditable() const; @@ -89,19 +91,12 @@ public: protected: virtual wxString DoGetValue() const; - + bool m_editable; // need to make this public because of the current implementation via callbacks unsigned long m_maxLength; - virtual void EnableTextChangedEvents(bool enable) - { - m_triggerUpdateEvents = enable; - } - - bool m_triggerUpdateEvents ; - }; #endif // _WX_OSX_TEXTENTRY_H_