Add inverted flag support to slider in wxQT, thanks @seandpagnier

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mariano Reingart 2014-09-29 04:10:53 +00:00
parent 61bcfe59c3
commit 9348ec2ba9

View File

@ -73,6 +73,8 @@ bool wxSlider::Create(wxWindow *parent,
m_qtSlider = new wxQtSlider( parent, this );
m_qtSlider->setOrientation( wxQtConvertOrientation( style, wxSL_HORIZONTAL ) );
m_qtSlider->setInvertedAppearance( style & wxSL_INVERSE );
m_qtSlider->blockSignals(true);
SetRange( minValue, maxValue );
m_qtSlider->blockSignals(false);