Mac compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-03-22 16:45:38 +00:00
parent 7884ab9018
commit 3a46bcdd32
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include "wx/fontmap.h" #include "wx/fontmap.h"
#include "wx/fontutil.h" #include "wx/fontutil.h"
#include "wx/encinfo.h" #include "wx/encinfo.h"
#include "wx/intl.h"
#include "wx/mac/private.h" #include "wx/mac/private.h"

View File

@ -302,7 +302,7 @@ bool wxMDIParentFrame::ShouldBeVisible() const
if ( win->IsShown() if ( win->IsShown()
&& !wxDynamicCast(win, wxMDIChildFrame) && !wxDynamicCast(win, wxMDIChildFrame)
#if wxUSE_STATUSBAR #if wxUSE_STATUSBAR
&& win != GetStatusBar() && win != (wxWindow*) GetStatusBar()
#endif #endif
&& win != GetClientWindow() ) && win != GetClientWindow() )
{ {