X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca8b28f2efff34b9939035a7aeb1de1e3ac98a0c..794005c0acc80bf21ca0ed2e1f42f1d78947957b:/include/wx/gtk/textctrl.h diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 2512ce42c1..95161e5246 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -118,6 +118,18 @@ class wxTextCtrl: public wxControl void OnChar( wxKeyEvent &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); + #ifndef NO_TEXT_WINDOW_STREAM int overflow(int i); int sync(); @@ -131,9 +143,9 @@ class wxTextCtrl: public wxControl wxTextCtrl& operator<<(const char c); #endif - void SetFont( const wxFont &font ); - void SetForegroundColour(const wxColour &colour); - void SetBackgroundColour(const wxColour &colour); + bool SetFont( const wxFont &font ); + bool SetForegroundColour(const wxColour &colour); + bool SetBackgroundColour(const wxColour &colour); // implementation