X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d13b34d3f2be575d59747a5926000be7b28a45dc..ba0cf6af6d19a7a91ed5087f20bf9b93b7a4f911:/src/os2/menuitem.cpp diff --git a/src/os2/menuitem.cpp b/src/os2/menuitem.cpp index 3eccd6eb75..59d72daced 100644 --- a/src/os2/menuitem.cpp +++ b/src/os2/menuitem.cpp @@ -489,7 +489,7 @@ bool wxMenuItem::OnMeasureItem( size_t* pWidth, size_t* pHeight ) // resize the space so the BMP will fit. Without this, BMPs // must be no larger or smaller than 16x16. // - if (m_bmpChecked.Ok()) + if (m_bmpChecked.IsOk()) { // // Is BMP height larger than text height? @@ -695,7 +695,7 @@ bool wxMenuItem::OnDrawItem( wxDC& rDC, // Draw the bitmap // --------------- // - if (IsCheckable() && !m_bmpChecked.Ok()) + if (IsCheckable() && !m_bmpChecked.IsOk()) { if (eStatus & wxODChecked) { @@ -724,7 +724,7 @@ bool wxMenuItem::OnDrawItem( wxDC& rDC, // wxBitmap vBmp(GetBitmap(IsCheckable() ? ((eStatus & wxODChecked) != 0) : TRUE)); - if (vBmp.Ok()) + if (vBmp.IsOk()) { wxMemoryDC vDCMem(&rDC);