]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/textctrl.h
Made wxPropertyGridHitTestResult a real class (works better that way with SWIG)
[wxWidgets.git] / include / wx / osx / textctrl.h
index df6967f9abcfe68cf2c9ca85547e6fdfc69a6003..76f52edf97c72fb0dd161ba8e4681345ea37f81b 100644 (file)
@@ -63,7 +63,6 @@ public:
 
     // accessors
     // ---------
-    virtual wxString GetValue() const;
 
     virtual int GetLineLength(long lineNo) const;
     virtual wxString GetLineText(long lineNo) const;
@@ -80,7 +79,6 @@ public:
 
     // editing
     virtual void Clear();
-    virtual void Replace(long from, long to, const wxString& value);
     virtual void Remove(long from, long to);
 
     // sets/clears the dirty flag
@@ -101,7 +99,6 @@ public:
     // writing text inserts it at the current position;
     // appending always inserts it at the end
     virtual void WriteText(const wxString& text);
-    virtual void AppendText(const wxString& text);
 
     // translate between the position (which is just an index into the textctrl
     // considering all its contents as a single strings) and (x, y) coordinates
@@ -177,7 +174,7 @@ protected:
 
     virtual wxSize DoGetBestSize() const;
 
-    virtual void DoSetValue(const wxString& value, int flags = 0);
+    virtual wxString DoGetValue() const;
 
     bool  m_editable;
 
@@ -187,17 +184,12 @@ protected:
   // need to make this public because of the current implementation via callbacks
     unsigned long  m_maxLength;
 
-    bool GetTriggerOnSetValue() const
+    virtual void EnableTextChangedEvents(bool enable)
     {
-        return m_triggerOnSetValue;
+        m_triggerUpdateEvents = enable;
     }
 
-    void SetTriggerOnSetValue(bool trigger)
-    {
-        m_triggerOnSetValue = trigger;
-    }
-
-    bool m_triggerOnSetValue ;
+    bool m_triggerUpdateEvents ;
 
 private :
   wxMenu  *m_privateContextMenu;