]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/textentry.h
supporting content size scaling (retina display)
[wxWidgets.git] / include / wx / osx / textentry.h
index 14ab4a0f670ba9e5c090c8409137e0c91fee4012..16f28e218972ba19453c5baefc5e5bf0e4f5b196 100644 (file)
@@ -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_