X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/os2/dcmemory.cpp?ds=sidebyside diff --git a/src/os2/dcmemory.cpp b/src/os2/dcmemory.cpp index ccddc30e76..64acc9f90d 100644 --- a/src/os2/dcmemory.cpp +++ b/src/os2/dcmemory.cpp @@ -139,7 +139,7 @@ void wxMemoryDCImpl::DoSelect( if (m_hOldBitmap) { ::GpiSetBitmap(m_hPS, NULLHANDLE); - if (m_vSelectedBitmap.Ok()) + if (m_vSelectedBitmap.IsOk()) { m_vSelectedBitmap.SetSelectedInto(NULL); m_vSelectedBitmap = wxNullBitmap; @@ -201,7 +201,7 @@ void wxMemoryDCImpl::DoGetSize( , int* pHeight ) const { - if (!m_vSelectedBitmap.Ok()) + if (!m_vSelectedBitmap.IsOk()) { *pWidth = 0; *pHeight = 0;