From: Stefan Csomor Date: Mon, 25 Jul 2005 06:09:18 +0000 (+0000) Subject: Adding David Surovell's fixes and extensions X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/03e4ffc38e19cb2df26f2bad98eb6c0f1a4b2d64 Adding David Surovell's fixes and extensions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/textctrl.h b/include/wx/mac/carbon/textctrl.h index 41adf503ec..1727b0051d 100644 --- a/include/wx/mac/carbon/textctrl.h +++ b/include/wx/mac/carbon/textctrl.h @@ -157,14 +157,19 @@ public: void OnPaste(wxCommandEvent& event); void OnUndo(wxCommandEvent& event); void OnRedo(wxCommandEvent& event); - + void OnDelete(wxCommandEvent& event); + void OnSelectAll(wxCommandEvent& event); + void OnUpdateCut(wxUpdateUIEvent& event); void OnUpdateCopy(wxUpdateUIEvent& event); void OnUpdatePaste(wxUpdateUIEvent& event); void OnUpdateUndo(wxUpdateUIEvent& event); void OnUpdateRedo(wxUpdateUIEvent& event); + void OnUpdateDelete(wxUpdateUIEvent& event); + void OnUpdateSelectAll(wxUpdateUIEvent& event); void OnEraseBackground(wxEraseEvent& event) ; + void OnContextMenu(wxContextMenuEvent& event); virtual bool MacCanFocus() const { return true ; } virtual bool MacSetupCursor( const wxPoint& pt ) ; @@ -198,6 +203,8 @@ protected: unsigned long m_maxLength ; // need to make this public because of the current implementation via callbacks private : + wxMenu *m_privateContextMenu; + DECLARE_EVENT_TABLE() };