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:
parent
61bcfe59c3
commit
9348ec2ba9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user