X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..87f0b1323b7ac77f02133b836c8dfee63b0fd387:/src/x11/dataobj.cpp diff --git a/src/x11/dataobj.cpp b/src/x11/dataobj.cpp index 88de745710..01e5cd9ed0 100644 --- a/src/x11/dataobj.cpp +++ b/src/x11/dataobj.cpp @@ -349,7 +349,7 @@ bool wxBitmapDataObject::SetData(size_t size, const void *buf) m_bitmap = image; - return m_bitmap.Ok(); + return m_bitmap.IsOk(); #else return false; #endif @@ -358,7 +358,7 @@ bool wxBitmapDataObject::SetData(size_t size, const void *buf) void wxBitmapDataObject::DoConvertToPng() { #if wxUSE_LIBPNG - if (!m_bitmap.Ok()) + if (!m_bitmap.IsOk()) return; wxImage image = m_bitmap.ConvertToImage();