git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30387
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxMDIParentFrame::Show( bool show )
{
bool wxMDIParentFrame::Show( bool show )
{
- if ( !wxFrame::Show(show) )
- return false;
-
// don't really show the MDI frame unless it has any children other than
// MDI children as it is pretty useless in this case
// don't really show the MDI frame unless it has any children other than
// MDI children as it is pretty useless in this case
if ( show )
{
// TODO: check for other children
Move(-10000, -10000);
}
if ( show )
{
// TODO: check for other children
Move(-10000, -10000);
}
+ if ( !wxFrame::Show(show) )
+ return false;
+