]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
patch as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92350 thanks
[wxWidgets.git] / src / msw / spinbutt.cpp
index b4b9cfb1e76fc6d8852c3d16c4c7b3b5e7ca0d91..4b3f25570c4cfcf3c48306b3d07c0a19fa2cd7b1 100644 (file)
@@ -195,7 +195,7 @@ bool wxSpinButton::Create(wxWindow *parent,
 
     SubclassWin(m_hWnd);
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }
@@ -257,7 +257,7 @@ void wxSpinButton::SetValue(int val)
 }
 
 void wxSpinButton::NormalizeValue()
-{ 
+{
     SetValue( GetValue() );
 }