]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
catch unhandled exceptions in POSIX threads implementation the same way wxMSW does
[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() );
 }