only take into account visible children in DoLayout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -338,7 +338,7 @@ void wxTopLevelWindowBase::DoLayout()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// do we have any children at all?
|
// do we have any children at all?
|
||||||
if ( child )
|
if ( child && child->IsShown() )
|
||||||
{
|
{
|
||||||
// exactly one child - set it's size to fill the whole frame
|
// exactly one child - set it's size to fill the whole frame
|
||||||
int clientW, clientH;
|
int clientW, clientH;
|
||||||
|
Reference in New Issue
Block a user