]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcprint.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / mac / carbon / dcprint.cpp
index 00d49e53eb5b3fc48a6151311e8d0c486474b224..10c79a07eff7e1d71be425c5943e23757b0861f2 100644 (file)
@@ -277,7 +277,7 @@ wxPrinterDCImpl::~wxPrinterDCImpl()
 
 bool wxPrinterDCImpl::StartDoc( const wxString& message )
 {
-    wxASSERT_MSG( Ok() , wxT("Called wxPrinterDC::StartDoc from an invalid object") ) ;
+    wxASSERT_MSG( IsOk() , wxT("Called wxPrinterDC::StartDoc from an invalid object") ) ;
 
     if ( !m_ok )
         return false ;