]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
bump subrelease number
[wxWidgets.git] / src / msw / spinctrl.cpp
index 8f4bd81c896034bc9b94088593fc03be62d1f794..14bdda9ae059d05c6383ceaf83cd907167e1c246 100644 (file)
@@ -449,6 +449,8 @@ void  wxSpinCtrl::SetValue(int val)
         // current value in the control, so do it manually
         ::SetWindowText(GetBuddyHwnd(), wxString::Format(_T("%d"), val));
     }
+    
+    m_oldValue = GetValue();
 }
 
 int wxSpinCtrl::GetValue() const