X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1eb65c24668845888c1be5d701e32e216c79af3..a39815bd30c62e13089f318028c9ee547940c4ad:/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