]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't send initial event in ctor
authorJulian Smart <julian@anthemion.co.uk>
Thu, 15 Mar 2007 16:09:57 +0000 (16:09 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 15 Mar 2007 16:09:57 +0000 (16:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/spinctrl.cpp

index e10de2b8936d3a5608906724fd77ec9f8782e574..014e50d81cf576ba311072fbe332d26efef7a9d5 100644 (file)
@@ -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);