From: Julian Smart Date: Wed, 7 Feb 2007 12:21:42 +0000 (+0000) Subject: Removed unnecessary assignment X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a1c882c99ded33004d8e38cb53fbfc7e95bbaa85 Removed unnecessary assignment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index f66f6bfbcf..e10de2b893 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -374,8 +374,6 @@ bool wxSpinCtrl::Create(wxWindow *parent, wxSpinButtonBase::SetRange(min, max); - m_oldValue = initial; - // subclass the text ctrl to be able to intercept some events wxSetWindowUserData(GetBuddyHwnd(), this); m_wndProcBuddy = (WXFARPROC)wxSetWindowProc(GetBuddyHwnd(),