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() ) {