]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
Some doc corrections; Watcom C++ corrections; VC++ 4 corrections
[wxWidgets.git] / samples / controls / controls.cpp
index 922b59d2e61e3836cb5428cf1142b08e79cef675..91d614bbbfdcedf08204a108180e8db28a2593bf 100644 (file)
@@ -105,7 +105,7 @@ public:
 #endif // wxUSE_SPINBTN
 
 #if wxUSE_SPINCTRL
-    void OnSpinCtrl(wxCommandEvent& event);
+    void OnSpinCtrl(wxSpinEvent& event);
 #endif // wxUSE_SPINCTRL
 
     void OnEnableAll(wxCommandEvent& event);
@@ -1066,7 +1066,7 @@ void MyPanel::OnSliderUpdate( wxCommandEvent &WXUNUSED(event) )
 
 #if wxUSE_SPINCTRL
 
-void MyPanel::OnSpinCtrl(wxCommandEvent& event)
+void MyPanel::OnSpinCtrl(wxSpinEvent& event)
 {
     wxString s;
     s.Printf(_T("Spin ctrl changed: now %d (from event: %d)\n"),