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:
Gilles Depeyrot
2001-06-23 20:38:12 +00:00
parent 4cb1706ae5
commit 87df17a11b
4 changed files with 52 additions and 40 deletions

View File

@@ -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