X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/src/cocoa/dcmemory.mm?ds=sidebyside

diff --git a/src/cocoa/dcmemory.mm b/src/cocoa/dcmemory.mm
index 5c74dd212c..c8f1ff94b4 100644
--- a/src/cocoa/dcmemory.mm
+++ b/src/cocoa/dcmemory.mm
@@ -75,7 +75,7 @@ bool wxMemoryDCImpl::CocoaUnlockFocus()
 void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
 {
     wxAutoNSAutoreleasePool pool;
-    if(m_selectedBitmap.Ok())
+    if(m_selectedBitmap.IsOk())
     {
         CocoaTakeFocus();
         wxASSERT(m_cocoaNSImage);
@@ -95,7 +95,7 @@ void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
     [m_cocoaNSImage release];
     m_cocoaNSImage = nil;
     m_selectedBitmap = bitmap;
-    if(m_selectedBitmap.Ok())
+    if(m_selectedBitmap.IsOk())
     {
         // Create an offscreen window of the same size
         m_cocoaNSImage = [[NSImage alloc]
@@ -137,7 +137,7 @@ bool wxMemoryDCImpl::CocoaDoBlitOnFocusedDC(wxCoord xdest, wxCoord ydest,
     wxCoord width, wxCoord height, wxCoord xsrc, wxCoord ysrc,
     int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask)
 {
-    if(!m_selectedBitmap.Ok())
+    if(!m_selectedBitmap.IsOk())
         return false;
 
     NSAffineTransform *transform = [NSAffineTransform transform];