]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gdiimage.cpp
Fix the coordinates in wxDataViewCustomRenderer::LeftClick() in generic wxDVC.
[wxWidgets.git] / src / os2 / gdiimage.cpp
index c149132d88e0ab839aa1a66dfd6af5b075ee8a78..405d2221f3bf3a580219807e43f3fef4cd46977b 100644 (file)
@@ -376,7 +376,7 @@ bool wxBMPResourceHandler::LoadFile( wxBitmap* pBitmap,
 
     wxBitmapRefData*                pData = pBitmap->GetBitmapData();
 
 
     wxBitmapRefData*                pData = pBitmap->GetBitmapData();
 
-    if ( pBitmap->Ok() )
+    if ( pBitmap->IsOk() )
     {
         BITMAPINFOHEADER            vBmph;
 
     {
         BITMAPINFOHEADER            vBmph;
 
@@ -385,7 +385,7 @@ bool wxBMPResourceHandler::LoadFile( wxBitmap* pBitmap,
         pData->m_nHeight = vBmph.cy;
         pData->m_nDepth  = vBmph.cBitCount;
     }
         pData->m_nHeight = vBmph.cy;
         pData->m_nDepth  = vBmph.cBitCount;
     }
-    return(pBitmap->Ok());
+    return(pBitmap->IsOk());
 } // end of wxBMPResourceHandler::LoadFile
 
 bool wxBMPFileHandler::LoadFile( wxBitmap*       pBitmap,
 } // end of wxBMPResourceHandler::LoadFile
 
 bool wxBMPFileHandler::LoadFile( wxBitmap*       pBitmap,
@@ -477,5 +477,5 @@ bool wxICOResourceHandler::LoadIcon( wxIcon*         pIcon,
 
     pIcon->SetHICON((WXHICON)hIcon);
 
 
     pIcon->SetHICON((WXHICON)hIcon);
 
-    return pIcon->Ok();
+    return pIcon->IsOk();
 } // end of wxICOResourceHandler::LoadIcon
 } // end of wxICOResourceHandler::LoadIcon