X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b781a6729859abc77e6ca5b1f81cbaad974a78f..94633ad9f171fefbe96b7cde1aa0a29090e627bc:/include/wx/cmndata.h diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 49afce9415..0688f00f38 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -21,11 +21,7 @@ #include "wx/colour.h" #include "wx/gdicmn.h" -#if defined( __WXMAC__ ) && defined( TARGET_CARBON ) -#include -#endif - -#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT class WXDLLEXPORT wxPrintSetupData; #endif @@ -169,7 +165,7 @@ class WXDLLEXPORT wxPrintData: public wxObject void operator=(const wxPrintData& data); // For compatibility -#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT void operator=(const wxPrintSetupData& setupData); #endif @@ -181,22 +177,18 @@ class WXDLLEXPORT wxPrintData: public wxObject void SetNativeData(void* data) { m_devMode = data; } void* GetNativeDataDevNames() const { return m_devNames; } void SetNativeDataDevNames(void* data) { m_devNames = data; } -#elif defined( __WXMAC__) +#elif defined(__WXMAC__) void ConvertToNative(); void ConvertFromNative(); #endif public: -#ifdef __WXMSW__ +#if defined(__WXMSW__) void* m_devMode; void* m_devNames; -#elif defined( __WXMAC__ ) -#if TARGET_CARBON - PMPageFormat m_macPageFormat ; - PMPrintSettings m_macPrintSettings ; -#else - THPrint m_macPrintInfo ; -#endif +#elif defined(__WXMAC__) + void* m_macPageFormat ; + void* m_macPrintSettings ; #endif private: @@ -286,7 +278,7 @@ class WXDLLEXPORT wxPrintDialogData: public wxObject void ConvertFromNative(); void SetOwnerWindow(wxWindow* win); void* GetNativeData() const { return m_printDlgData; } -#elif defined( __WXMAC__) +#elif defined(__WXMAC__) void ConvertToNative(); void ConvertFromNative(); #endif @@ -375,7 +367,7 @@ public: void ConvertFromNative(); void SetOwnerWindow(wxWindow* win); void* GetNativeData() const { return m_pageSetupData; } -#elif defined( __WXMAC__) +#elif defined(__WXMAC__) void ConvertToNative(); void ConvertFromNative(); #endif