X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f90df854ed9630ab60ac7729287807e4d1d8286..944930d5f525ffa2d10b7cefb1ecacaf1e95275c:/utils/wxPython/src/controls.i?ds=sidebyside diff --git a/utils/wxPython/src/controls.i b/utils/wxPython/src/controls.i index dbdce2edec..57875bd049 100644 --- a/utils/wxPython/src/controls.i +++ b/utils/wxPython/src/controls.i @@ -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'); + } + } }; //----------------------------------------------------------------------