]> git.saurik.com Git - wxWidgets.git/commitdiff
SetBestSize() is now deprecated, don't use it
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2006 11:20:16 +0000 (11:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Oct 2006 11:20:16 +0000 (11:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;