]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/spinbutt.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / univ / spinbutt.cpp
index c322345dee871d98ee677f9202eb8ca5f905ff47..e1d885795b7660168b04fd83f1f860759757cc7c 100644 (file)
@@ -98,7 +98,7 @@ bool wxSpinButton::Create(wxWindow *parent,
                                    wxDefaultValidator, name) )
         return false;
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     CreateInputHandler(wxINP_HANDLER_SPINBTN);