From 9075301655698af770fa31f7fb1b7c6e6ab38faf Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Sun, 27 Feb 2005 10:02:20 +0000 Subject: [PATCH 1/1] fix compilation - Stefan see my last commit bundle :) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/private.h | 3 +++ src/mac/carbon/uma.cpp | 3 +++ src/mac/carbon/utils.cpp | 1 + 3 files changed, 7 insertions(+) diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index a3f4094719..9c6d741e0d 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -47,6 +47,9 @@ #include "wx/mac/corefoundation/cfstring.h" #endif +//forward declarations +class wxTopLevelWindowMac; + #ifndef FixedToInt // as macro in FixMath.h for 10.3 inline Fixed IntToFixed( int inInt ) diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index 1de3eacf7f..807f122922 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -33,6 +33,9 @@ #endif #include "wx/mac/uma.h" +#if TARGET_API_MAC_OSX +#include "wx/toplevel.h" +#endif // since we have decided that we only support 8.6 upwards we are // checking for these minimum requirements in the startup code of diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 4a209c9517..eafcd73ef7 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -23,6 +23,7 @@ #if wxUSE_GUI #include "wx/mac/uma.h" #include "wx/font.h" + #include "wx/toplevel.h" #else #include "wx/intl.h" #endif -- 2.45.2