]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dataobj.cpp
forwarding style changes to documentViews, see #14578
[wxWidgets.git] / src / gtk1 / dataobj.cpp
index 7fc4bb83dc4aaeb944363705714609d50287d266..04fc4a4675fd3d802f35e01bc17af3a4c6af84aa 100644 (file)
@@ -357,12 +357,12 @@ bool wxBitmapDataObject::SetData(size_t size, const void *buf)
 
     m_bitmap = wxBitmap(image);
 
-    return m_bitmap.Ok();
+    return m_bitmap.IsOk();
 }
 
 void wxBitmapDataObject::DoConvertToPng()
 {
-    if ( !m_bitmap.Ok() )
+    if ( !m_bitmap.IsOk() )
         return;
 
     wxCHECK_RET( wxImage::FindHandler(wxBITMAP_TYPE_PNG) != NULL,