#if wxUSE_SLIDER
#include "wx/utils.h"
-
-#include <math.h>
-
+#include "wx/math.h"
#include "wx/gtk/private.h"
//-----------------------------------------------------------------------------
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();
SetRange( minValue, maxValue );