From 507ad4266a4e91296654725a28c24958b91e9805 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 9 Nov 2004 08:13:00 +0000 Subject: [PATCH] move offscreen before in order to avoid transitions for mdiparent frame as it supposed not to be visible on mac anyway git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/mdi.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index b009b1ebe6..a5672eebec 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -219,17 +219,18 @@ void wxMDIParentFrame::ActivatePrevious() 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 + if ( show ) { // TODO: check for other children Move(-10000, -10000); } + if ( !wxFrame::Show(show) ) + return false; + return true; } -- 2.45.2