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())
|
if (!m_defaultPath.IsEmpty())
|
||||||
ExpandPath(m_defaultPath);
|
ExpandPath(m_defaultPath);
|
||||||
|
|
||||||
|
SetBestSize(size);
|
||||||
DoResize();
|
DoResize();
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Reference in New Issue
Block a user