Fix compatibility with the other ports for wxSlider in wxQt
This commit is contained in:
parent
a1df8042c6
commit
39f0e5b433
1 changed files with 4 additions and 0 deletions
|
|
@ -165,6 +165,10 @@ bool wxSlider::Create(wxWindow *parent,
|
|||
|
||||
m_qtSlider->setInvertedAppearance( style & wxSL_INVERSE );
|
||||
|
||||
// For compatibility with the other ports, pressing PageUp should move value
|
||||
// towards the slider's minimum.
|
||||
m_qtSlider->setInvertedControls(true);
|
||||
|
||||
wxQtEnsureSignalsBlocked blocker(m_qtSlider);
|
||||
SetRange( minValue, maxValue );
|
||||
SetValue( value );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue