]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
add -mno-cygwin detection: we should treat cygwin as Windows, not Unix, when it's...
[wxWidgets.git] / src / generic / dirctrlg.cpp
index 5e1a3ffbfe78a2978439c61959f935ba7f91d98c..5b9bc12d62cb02c5ccefd2052c94a8dfaab949f2 100644 (file)
@@ -613,7 +613,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
 
     ExpandRoot();
 
-    SetBestSize(size);
+    SetInitialSize(size);
     DoResize();
 
     return true;