]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
To have better support for themed and custom backgrounds for wxMSW wxComboCtrl, use...
[wxWidgets.git] / src / gtk / scrolbar.cpp
index dc832e0b6c6543bb1400b0d4a56f4f6d7e880484..3ffb6eb2b7746f095e150aae5c97ab9833c80f27 100644 (file)
@@ -28,7 +28,7 @@ extern "C" {
 static void
 gtk_value_changed(GtkRange* range, wxScrollBar* win)
 {
-    wxEventType eventType = win->GetScrollEventType(range);
+    wxEventType eventType = win->GTKGetScrollEventType(range);
     if (eventType != wxEVT_NULL)
     {
         const int orient = win->HasFlag(wxSB_VERTICAL) ? wxVERTICAL : wxHORIZONTAL;
@@ -118,8 +118,6 @@ gtk_button_release_event(GtkRange* range, GdkEventButton*, wxScrollBar* win)
 // wxScrollBar
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar,wxControl)
-
 wxScrollBar::wxScrollBar()
 {
 }