projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added wxUSE_STDPATHS
[wxWidgets.git]
/
src
/
gtk
/
slider.cpp
diff --git
a/src/gtk/slider.cpp
b/src/gtk/slider.cpp
index 740a202322858269c2e47c960ee08517641b3102..93ec5c8fffc9e3ae2340df3aa0dd518688f1495c 100644
(file)
--- a/
src/gtk/slider.cpp
+++ b/
src/gtk/slider.cpp
@@
-132,6
+132,11
@@
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();
SetRange( minValue, maxValue );