From dea106e532d08dada21a039ec80d86d71d5e5631 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 6 Jan 2002 15:38:43 +0000 Subject: [PATCH] removing dependancy on mac headers from public wx headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cmndata.h | 15 ++------------- include/wx/platform.h | 14 -------------- 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 4bc6a83a39..0688f00f38 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -21,13 +21,6 @@ #include "wx/colour.h" #include "wx/gdicmn.h" -#if defined(__WXMAC__) && defined(TARGET_CARBON) && !defined(__UNIX__) - #if PM_USE_SESSION_APIS - #include - #endif - #include -#endif - #if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT class WXDLLEXPORT wxPrintSetupData; #endif @@ -190,16 +183,12 @@ class WXDLLEXPORT wxPrintData: public wxObject #endif public: -#ifdef __WXMSW__ +#if defined(__WXMSW__) void* m_devMode; void* m_devNames; -#elif defined( __WXMAC__ ) - #if TARGET_CARBON +#elif defined(__WXMAC__) void* m_macPageFormat ; void* m_macPrintSettings ; - #else - void* m_macPrintInfo ; - #endif #endif private: diff --git a/include/wx/platform.h b/include/wx/platform.h index f1f6df24dc..ae2f01b8c6 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -137,18 +137,6 @@ #define __HPUX__ #endif /* HP-UX */ - #if defined(__WXMAC__) && defined(__DARWIN__) - /* Mac OS X */ - - /* - Some code has been added to workaround defects(?) in the - bundled gcc compiler. These corrections are identified by: - __DARWIN__ for corrections necessary for Darwin (wxMac, wxMotif) - */ - - #include - #endif /* __WXMAC__ && __DARWIN__ */ - #if defined(__CYGWIN__) #if !defined(wxSIZE_T_IS_UINT) #define wxSIZE_T_IS_UINT @@ -167,8 +155,6 @@ bundled gcc compiler. These corrections are identified by: __DARWIN__ for corrections necessary for Darwin (wxMac, wxMotif) */ - - #include #elif defined(__OS2__) #if defined(__IBMCPP__) #define __VISAGEAVER__ __IBMCPP__ -- 2.45.2