applied SF patch #817328 to correct PMRelease calls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2003-11-03 22:22:39 +00:00
parent 081d6e4def
commit 6b6a2263ec
2 changed files with 10 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ wxPrinterDC::wxPrinterDC(const wxPrintData& printdata)
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease( m_macPrintSessionPort ) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -109,7 +109,7 @@ wxPrinterDC::wxPrinterDC(const wxPrintData& printdata)
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -138,7 +138,7 @@ wxPrinterDC::~wxPrinterDC(void)
if ( m_ok )
{
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -184,7 +184,7 @@ bool wxPrinterDC::StartDoc( const wxString& WXUNUSED(message) )
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -206,7 +206,7 @@ bool wxPrinterDC::StartDoc( const wxString& WXUNUSED(message) )
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif

View File

@@ -66,7 +66,7 @@ wxPrinterDC::wxPrinterDC(const wxPrintData& printdata)
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease( m_macPrintSessionPort ) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -109,7 +109,7 @@ wxPrinterDC::wxPrinterDC(const wxPrintData& printdata)
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -138,7 +138,7 @@ wxPrinterDC::~wxPrinterDC(void)
if ( m_ok )
{
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -184,7 +184,7 @@ bool wxPrinterDC::StartDoc( const wxString& WXUNUSED(message) )
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif
@@ -206,7 +206,7 @@ bool wxPrinterDC::StartDoc( const wxString& WXUNUSED(message) )
wxMessageDialog dialog( NULL , message , "", wxICON_HAND | wxOK) ;
dialog.ShowModal();
#if TARGET_CARBON && PM_USE_SESSION_APIS
PMRelease(&m_macPrintSessionPort) ;
PMRelease(m_macPrintSessionPort) ;
#else
UMAPrClose(NULL) ;
#endif