X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca8b28f2efff34b9939035a7aeb1de1e3ac98a0c..c96faa7c9b1926d63a2fff32ac4508d3138a7bee:/include/wx/motif/textctrl.h diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 6622976caf..2466ff7376 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -16,8 +16,8 @@ #pragma interface "textctrl.h" #endif -#include "wx/ioswrap.h" #include "wx/control.h" +#include "wx/ioswrap.h" // TODO Some platforms/compilers don't like inheritance from streambuf. #if (defined(__BORLANDC__) && !defined(__WIN32__)) || defined(__MWERKS__) @@ -133,6 +133,18 @@ public: void OnChar(wxKeyEvent& event); // void OnEraseBackground(wxEraseEvent& event); + void OnCut(wxCommandEvent& event); + void OnCopy(wxCommandEvent& event); + void OnPaste(wxCommandEvent& event); + void OnUndo(wxCommandEvent& event); + void OnRedo(wxCommandEvent& event); + + void OnUpdateCut(wxUpdateUIEvent& event); + void OnUpdateCopy(wxUpdateUIEvent& event); + void OnUpdatePaste(wxUpdateUIEvent& event); + void OnUpdateUndo(wxUpdateUIEvent& event); + void OnUpdateRedo(wxUpdateUIEvent& event); + virtual void Command(wxCommandEvent& event); // implementation from here to the end