gtk_range_set_inverted only available on GTK2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Hock
2005-01-22 13:48:38 +00:00
parent 55e3f1c4f9
commit 3baba4c60d
2 changed files with 4 additions and 0 deletions

View 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();