]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/controls.i
Added calendar contributed by Lorne White
[wxWidgets.git] / utils / wxPython / src / controls.i
index dbdce2edecb7d2eac435ef503cff9696045a7c9d..57875bd04948308fad299e202f112e6ef63d9f2a 100644 (file)
@@ -375,6 +375,14 @@ public:
     bool CanUndo();
     void GetSelection(long* OUTPUT, long* OUTPUT);
     bool IsEditable();
+    void Undo();
+    void Redo();
+
+    %addmethods {
+        void write(const wxString& text) {
+            self->AppendText(text + '\n');
+        }
+    }
 };
 
 //----------------------------------------------------------------------