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:
@@ -604,6 +604,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
|
||||
if (!m_defaultPath.IsEmpty())
|
||||
ExpandPath(m_defaultPath);
|
||||
|
||||
SetBestSize(size);
|
||||
DoResize();
|
||||
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user