]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
changed last DrawButton() parameter from bool to int to allow for future extensions...
[wxWidgets.git] / src / msw / control.cpp
index 9817456107b04b0f38d0f71802e8cdd2e649820c..3797cab6254b1bd62a313e90091594657af4c23f 100644 (file)
@@ -196,7 +196,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
     }
 
     // set the size now if no initial size specified
-    SetInitialBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }