]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/slider.cpp
Compilation fix for wxFont in wxGTK1.
[wxWidgets.git] / src / gtk1 / slider.cpp
index 7a7a4f0e6b0ac841026a1a5a12e0085706cd6381..089ea23c88e1445a97e7a814e906a3092f8a9e4b 100644 (file)
@@ -63,7 +63,7 @@ ProcessScrollEvent(wxSlider *win, wxEventType evtType, double dvalue)
         win->HandleWindowEvent( event2 );
     }
 
-    wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, win->GetId() );
+    wxCommandEvent cevent( wxEVT_SLIDER, win->GetId() );
     cevent.SetEventObject( win );
     cevent.SetInt( value );
     win->HandleWindowEvent( cevent );
@@ -125,8 +125,6 @@ static gint gtk_slider_button_release_callback( GtkWidget *scale,
 // wxSlider
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
-
 bool wxSlider::Create(wxWindow *parent, wxWindowID id,
         int value, int minValue, int maxValue,
         const wxPoint& pos, const wxSize& size,