Don't send initial event in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fab3f50eb7
commit
7660b85c31
@ -406,9 +406,6 @@ bool wxSpinCtrl::Create(wxWindow *parent,
|
||||
// Set the range in the native control
|
||||
SetRange(min, max);
|
||||
|
||||
// Send the initial event
|
||||
SendSpinUpdate(initial);
|
||||
|
||||
if ( !value.empty() )
|
||||
{
|
||||
SetValue(value);
|
||||
|
Loading…
Reference in New Issue
Block a user