X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/654c1d6b7b9fb89990ed1613bf005d374ed80dd9..14b72bf5a6b575f2be880eadc3e7f0131afe889a:/samples/controls/controls.cpp diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index cbc9cecf82..a6fa25ad15 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -123,31 +123,6 @@ bool MyApp::OnInit(void) return TRUE; } -//---------------------------------------------------------------------- -// MyTextCtrl -//---------------------------------------------------------------------- - -class MyTextCtrl : public wxTextCtrl -{ -public: - MyTextCtrl( wxWindow *parent, wxWindowID id, const wxString &value, - const wxPoint &pos, const wxSize &size, int style ); - - void OnRightButton(wxCommandEvent&) { } - -DECLARE_EVENT_TABLE() -}; - -BEGIN_EVENT_TABLE(MyTextCtrl, wxTextCtrl) - EVT_RIGHT_DOWN(MyTextCtrl::OnRightButton) -END_EVENT_TABLE() - -MyTextCtrl::MyTextCtrl( wxWindow *parent, wxWindowID id, const wxString &value, - const wxPoint &pos, const wxSize &size, int style ) : - wxTextCtrl( parent, id, value, pos, size, style ) -{ -} - //---------------------------------------------------------------------- // MyPanel //----------------------------------------------------------------------