]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/checkbox.cpp
use native conversions that are close to the native storage of wxString
[wxWidgets.git] / src / univ / checkbox.cpp
index de5865cb8434be11577465f980c58346d54b4270..520a2edf058dc20b47cf0c1b13f5bb864467f1d2 100644 (file)
@@ -84,7 +84,7 @@ bool wxCheckBox::Create(wxWindow *parent,
         return false;
 
     SetLabel(label);
         return false;
 
     SetLabel(label);
-    SetBestSize(size);
+    SetInitialSize(size);
 
     CreateInputHandler(wxINP_HANDLER_CHECKBOX);
 
 
     CreateInputHandler(wxINP_HANDLER_CHECKBOX);