X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..ff1865910312d960737474a75a77737d5ce94864:/include/wx/cmndata.h diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 03b46f0604..2b4063f317 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -21,10 +21,11 @@ #include "wx/colour.h" #include "wx/gdicmn.h" -#if defined(__WXMAC__) && defined(TARGET_CARBON) - #if !defined(__UNIX__) - #include +#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 @@ -193,12 +194,12 @@ public: void* m_devMode; void* m_devNames; #elif defined( __WXMAC__ ) -#if TARGET_CARBON + #if TARGET_CARBON PMPageFormat m_macPageFormat ; PMPrintSettings m_macPrintSettings ; -#else + #else THPrint m_macPrintInfo ; -#endif + #endif #endif private: