]> git.saurik.com Git - wxWidgets.git/commitdiff
removing dependancy on mac headers from public wx headers
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 6 Jan 2002 15:38:43 +0000 (15:38 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 6 Jan 2002 15:38:43 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cmndata.h
include/wx/platform.h

index 4bc6a83a3958af45d9b9ae927bd47098edaf6a74..0688f00f38782cbaf64da75ef740ab8523b64110 100644 (file)
 #include "wx/colour.h"
 #include "wx/gdicmn.h"
 
-#if defined(__WXMAC__) && defined(TARGET_CARBON) && !defined(__UNIX__)
-  #if PM_USE_SESSION_APIS
-    #include <PMCore.h>
-  #endif
-    #include <PMApplication.h>
-#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:
index f1f6df24dce70fff4dc6e9588046f4f41cc29c77..ae2f01b8c633c5bf5eb76331d48e1bc3db035aa5 100644 (file)
         #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 <Carbon/Carbon.h>
-    #endif /* __WXMAC__ && __DARWIN__ */
-
     #if defined(__CYGWIN__)
         #if !defined(wxSIZE_T_IS_UINT)
             #define wxSIZE_T_IS_UINT
        bundled gcc compiler. These corrections are identified by:
        __DARWIN__ for corrections necessary for Darwin (wxMac, wxMotif)
      */
-
-    #include <Carbon/Carbon.h>
 #elif defined(__OS2__)
     #if defined(__IBMCPP__)
         #define __VISAGEAVER__ __IBMCPP__