X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e195770310becbafdbc07551ebecea91850a80a5..032bc940fcde34cc649eaa111cd6aff1cda66104:/src/generic/dirctrlg.cpp diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 5e1a3ffbfe..5b9bc12d62 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -613,7 +613,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, ExpandRoot(); - SetBestSize(size); + SetInitialSize(size); DoResize(); return true;