]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.h.in
Add wxControlWithItems::SendSelectionChangedEvent() helper.
[wxWidgets.git] / src / stc / stc.h.in
index 659ae4dc5641334f4469966b306878f95424bfd5..abbfe19b2a21444bf768c499fc3b5eb69fa73e68 100644 (file)
@@ -237,6 +237,9 @@ public:
     // Returns the current UseAntiAliasing setting.
     bool GetUseAntiAliasing();
 
+    // Clear annotations from the given line.
+    void AnnotationClearLine(int line);
+
 
 
     // The following methods are nearly equivalent to their similarly named
@@ -285,7 +288,11 @@ public:
     // implement wxTextEntryBase pure virtual methods
     // ----------------------------------------------
 
-    virtual void WriteText(const wxString& text) { AddText(text); }
+    virtual void WriteText(const wxString& text)
+    {
+        ReplaceSelection(text);
+    }
+
     virtual void Remove(long from, long to)
     {
         Replace(from, to, "");
@@ -445,6 +452,7 @@ public:
     static wxVersionInfo GetLibraryVersionInfo();
 
 protected:
+    virtual void DoSetValue(const wxString& value, int flags);
     virtual wxString DoGetValue() const { return GetText(); }
     virtual wxWindow *GetEditableWindow() { return this; }