]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
Further sorting work using the sorting data model.
[wxWidgets.git] / src / gtk / scrolbar.cpp
index 91895aab943f2980bcf1c55c72976d6a53add2e5..3a44d755f05e2c5f8cf49d593dd0358904e4b5c2 100644 (file)
@@ -186,6 +186,10 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
         m_widget = gtk_hscrollbar_new( (GtkAdjustment *) NULL );
 
     m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );
+    if ( style & wxSB_VERTICAL )
+    {
+        SetVScrollAdjustment(m_adjust);
+    }
 
     g_signal_connect (m_adjust, "value_changed",
                       G_CALLBACK (gtk_scrollbar_callback), this);