]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/slider.cpp
Invalidate the best size after adding an item
[wxWidgets.git] / src / gtk1 / slider.cpp
index 2dcc57d58ec2b56d374885209260935a3f0bbfeb..bcd260ad6eeeb5c596cdec3f70099a5311205d04 100644 (file)
@@ -265,12 +265,6 @@ bool wxSlider::IsOwnGtkWindow( GdkWindow *window )
 #endif
 }
 
-void wxSlider::ApplyWidgetStyle()
-{
-    SetWidgetStyle();
-    gtk_widget_set_style( m_widget, m_widgetStyle );
-}
-
 void wxSlider::GtkDisableEvents()
 {
     gtk_signal_disconnect_by_func( GTK_OBJECT(m_adjust),
@@ -286,4 +280,11 @@ void wxSlider::GtkEnableEvents()
                         (gpointer) this );
 }
 
+// static
+wxVisualAttributes
+wxSlider::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    return GetDefaultAttributesFromGTKWidget(gtk_vscale_new);
+}
+
 #endif