Avoid triggering false update event when setting the initial range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -372,7 +372,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
|
||||
return false;
|
||||
}
|
||||
|
||||
SetRange(min, max);
|
||||
wxSpinButtonBase::SetRange(min, max);
|
||||
SetValue(initial);
|
||||
|
||||
m_oldValue = initial;
|
||||
|
Reference in New Issue
Block a user