]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
Attempting to check in this wretched cursor again. Also added SetAcceleratorTable
[wxWidgets.git] / samples / controls / controls.cpp
index cbc9cecf82de5aa086e01c8b1dee8102e459611e..a6fa25ad15ef454f5b4799a24cc5df7cc4c5edae 100644 (file)
@@ -123,31 +123,6 @@ bool MyApp::OnInit(void)
   return TRUE;
 }
 
   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
 //----------------------------------------------------------------------
 //----------------------------------------------------------------------
 // MyPanel
 //----------------------------------------------------------------------