X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e219378a3ba79a11564f291039f47ce651c2f3e..b931414d91c7240ae42a67b9fc75e18d93aff721:/src/gtk1/slider.cpp diff --git a/src/gtk1/slider.cpp b/src/gtk1/slider.cpp index dc5fdec645..93ec5c8fff 100644 --- a/src/gtk1/slider.cpp +++ b/src/gtk1/slider.cpp @@ -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();