From 19d8dd12a4c210c4ae932c1f9ff80b147b0cb1c4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 14 May 2004 06:29:41 +0000 Subject: [PATCH] Add a call to SetBestSize so the minsize can be set for sizers if an 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index c20e3d7a9a..07359fdbcf 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -604,6 +604,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, if (!m_defaultPath.IsEmpty()) ExpandPath(m_defaultPath); + SetBestSize(size); DoResize(); return TRUE; -- 2.45.2