]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utilsgui.cpp
adapting ownership semantics to cocoa convention
[wxWidgets.git] / src / os2 / utilsgui.cpp
index 9ab06acf96f586e6413bc060a003c7dd6d503613..eca34900b8b667073b13f7719084a668576237d3 100644 (file)
@@ -859,7 +859,7 @@ wxBitmap wxDisableBitmap(
     ::GpiSetBitmap(hPS, NULLHANDLE);
     ::GpiDestroyPS(hPS);
     ::DevCloseDC(hDC);
-    if (vNewBmp.Ok())
+    if (vNewBmp.IsOk())
         return(vNewBmp);
     return(wxNullBitmap);
 } // end of wxDisableBitmap