From 3a46bcdd32a216b78174c1d115ced691d02932a7 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 22 Mar 2006 16:45:38 +0000 Subject: [PATCH] Mac compile fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/fontenum.cpp | 1 + src/mac/carbon/mdi.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/fontenum.cpp b/src/mac/carbon/fontenum.cpp index 355b4abcbb..adb3957eca 100644 --- a/src/mac/carbon/fontenum.cpp +++ b/src/mac/carbon/fontenum.cpp @@ -23,6 +23,7 @@ #include "wx/fontmap.h" #include "wx/fontutil.h" #include "wx/encinfo.h" +#include "wx/intl.h" #include "wx/mac/private.h" diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index ee4db9c392..503efaaa61 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -302,7 +302,7 @@ bool wxMDIParentFrame::ShouldBeVisible() const if ( win->IsShown() && !wxDynamicCast(win, wxMDIChildFrame) #if wxUSE_STATUSBAR - && win != GetStatusBar() + && win != (wxWindow*) GetStatusBar() #endif && win != GetClientWindow() ) {