]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
SetLabel() no longer invalidates the font which
[wxWidgets.git] / src / gtk / slider.cpp
index dc5fdec6453ed77238ecdeb453c1a4f4a396e839..93ec5c8fffc9e3ae2340df3aa0dd518688f1495c 100644 (file)
@@ -132,8 +132,10 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
 
     m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );
 
+#ifdef __WXGTK20__
     if (style & wxSL_INVERSE)
         gtk_range_set_inverted( GTK_RANGE(m_widget), TRUE );
+#endif
 
     GtkEnableEvents();