]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/checkbox.cpp
don't declare inline function with dllexport declaration, this provokes mingw32 warni...
[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);