X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1eb65c24668845888c1be5d701e32e216c79af3..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/dataobj.cpp?ds=sidebyside diff --git a/src/os2/dataobj.cpp b/src/os2/dataobj.cpp index 81939cf429..be55a32aef 100644 --- a/src/os2/dataobj.cpp +++ b/src/os2/dataobj.cpp @@ -329,12 +329,12 @@ bool wxBitmapDataObject::SetData( size_t nSize, const void* pBuf) m_bitmap = wxBitmap(vImage); #endif //wxUSE_STREAMS - return m_bitmap.Ok(); + return m_bitmap.IsOk(); } void wxBitmapDataObject::DoConvertToPng() { - if (!m_bitmap.Ok()) + if (!m_bitmap.IsOk()) return; #if wxUSE_STREAMS