]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/spinbutt.cpp
Compilation fix for non-MSW: don't use ProcessCommand().
[wxWidgets.git] / src / univ / spinbutt.cpp
index c322345dee871d98ee677f9202eb8ca5f905ff47..e1d885795b7660168b04fd83f1f860759757cc7c 100644 (file)
@@ -98,7 +98,7 @@ bool wxSpinButton::Create(wxWindow *parent,
                                    wxDefaultValidator, name) )
         return false;
 
                                    wxDefaultValidator, name) )
         return false;
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     CreateInputHandler(wxINP_HANDLER_SPINBTN);
 
 
     CreateInputHandler(wxINP_HANDLER_SPINBTN);