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:
@@ -406,9 +406,6 @@ bool wxSpinCtrl::Create(wxWindow *parent,
|
|||||||
// Set the range in the native control
|
// Set the range in the native control
|
||||||
SetRange(min, max);
|
SetRange(min, max);
|
||||||
|
|
||||||
// Send the initial event
|
|
||||||
SendSpinUpdate(initial);
|
|
||||||
|
|
||||||
if ( !value.empty() )
|
if ( !value.empty() )
|
||||||
{
|
{
|
||||||
SetValue(value);
|
SetValue(value);
|
||||||
|
Reference in New Issue
Block a user