]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/checkbox.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / univ / checkbox.cpp
index de5865cb8434be11577465f980c58346d54b4270..520a2edf058dc20b47cf0c1b13f5bb864467f1d2 100644 (file)
@@ -84,7 +84,7 @@ bool wxCheckBox::Create(wxWindow *parent,
         return false;
 
     SetLabel(label);
-    SetBestSize(size);
+    SetInitialSize(size);
 
     CreateInputHandler(wxINP_HANDLER_CHECKBOX);