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
This commit is contained in:
Robin Dunn
2004-05-14 06:29:41 +00:00
parent 3ba55e8ab7
commit 19d8dd12a4

View File

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