corrected use of Print Manager Session APIs for Carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -289,10 +289,10 @@ void UMAInsertMenu( MenuRef insertMenu , SInt16 afterId )
|
||||
|
||||
int gPrOpenCounter = 0 ;
|
||||
|
||||
#if !TARGET_CARBON
|
||||
OSStatus UMAPrOpen()
|
||||
#else
|
||||
#if PM_USE_SESSION_APIS
|
||||
OSStatus UMAPrOpen(PMPrintSession *macPrintPort)
|
||||
#else
|
||||
OSStatus UMAPrOpen()
|
||||
#endif
|
||||
{
|
||||
#if !TARGET_CARBON
|
||||
@@ -321,10 +321,10 @@ OSStatus UMAPrOpen(PMPrintSession *macPrintPort)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !TARGET_CARBON
|
||||
OSStatus UMAPrClose()
|
||||
#else
|
||||
#if PM_USE_SESSION_APIS
|
||||
OSStatus UMAPrClose(PMPrintSession *macPrintPort)
|
||||
#else
|
||||
OSStatus UMAPrClose()
|
||||
#endif
|
||||
{
|
||||
#if !TARGET_CARBON
|
||||
|
Reference in New Issue
Block a user