X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28a34fc7d0c8598008b080ad4056652a1f1d8754..bde4baaced626df90e0312a3d94d024e41d7ab80:/src/univ/textctrl.cpp diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 44dc03151d..911934d6a1 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -528,6 +528,8 @@ public: virtual bool CanUndo() const; virtual bool Do(wxTextCtrl *text); + virtual bool Do() { return wxTextCtrlCommand::Do(); } + virtual bool Undo() { return wxTextCtrlCommand::Undo(); } virtual bool Undo(wxTextCtrl *text); private: @@ -551,6 +553,8 @@ public: virtual bool CanUndo() const; virtual bool Do(wxTextCtrl *text); + virtual bool Do() { return wxTextCtrlCommand::Do(); } + virtual bool Undo() { return wxTextCtrlCommand::Undo(); } virtual bool Undo(wxTextCtrl *text); private: