From 7660b85c3147dc4d5a57e28fb738f1d45b7add4d Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 15 Mar 2007 16:09:57 +0000 Subject: [PATCH] Don't send initial event in ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/spinctrl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index e10de2b893..014e50d81c 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -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); -- 2.50.0