]> git.saurik.com Git - wxWidgets.git/commitdiff
Add a call to SetBestSize so the minsize can be set for sizers if an
authorRobin Dunn <robin@alldunn.com>
Fri, 14 May 2004 06:29:41 +0000 (06:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 14 May 2004 06:29:41 +0000 (06:29 +0000)
initial size was given.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

index c20e3d7a9a6c8ccbafcd1d01913ee9461d5b33d5..07359fdbcfec5dec8d68430447f47c70fbfc9bea 100644 (file)
@@ -604,6 +604,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
     if (!m_defaultPath.IsEmpty())
         ExpandPath(m_defaultPath);
 
+    SetBestSize(size);
     DoResize();
 
     return TRUE;