use Print Manager session APIs if PM_USE_SESSION_APIS is true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,11 +35,15 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
|
||||
virtual void EndPage(void) ;
|
||||
protected :
|
||||
#if TARGET_CARBON
|
||||
PMPrintContext m_macPrintPort ;
|
||||
#if PM_USE_SESSION_APIS
|
||||
PMPrintSession m_macPrintPort ;
|
||||
#else
|
||||
PMPrintContext m_macPrintPort ;
|
||||
#endif
|
||||
#else
|
||||
TPPrPort m_macPrintPort ;
|
||||
TPPrPort m_macPrintPort ;
|
||||
#endif
|
||||
wxPrintData m_printData ;
|
||||
wxPrintData m_printData ;
|
||||
#endif // wxUSE_PRINTING_ARCHITECTURE
|
||||
};
|
||||
|
||||
|
@@ -82,8 +82,13 @@ void UMADrawMenuBar() ;
|
||||
void UMAShowWatchCursor() ;
|
||||
void UMAShowArrowCursor() ;
|
||||
|
||||
#if PM_USE_SESSION_APIS
|
||||
OSStatus UMAPrOpen(PMPrintSession *macPrintPort) ;
|
||||
OSStatus UMAPrClose(PMPrintSession *macPrintPort) ;
|
||||
#else
|
||||
OSStatus UMAPrOpen() ;
|
||||
OSStatus UMAPrClose() ;
|
||||
#endif
|
||||
|
||||
// window manager
|
||||
|
||||
|
Reference in New Issue
Block a user