From: Vadim Zeitlin Date: Tue, 31 Oct 2006 11:20:16 +0000 (+0000) Subject: SetBestSize() is now deprecated, don't use it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4a89f0e9073e862b916208b2e3bcfb1ea5dbecb8?hp=08c068a4eb2d1d62a6a72142aff5b1477cf053bb SetBestSize() is now deprecated, don't use it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;