// 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?
// Draw the bitmap
// ---------------
//
- if (IsCheckable() && !m_bmpChecked.Ok())
+ if (IsCheckable() && !m_bmpChecked.IsOk())
{
if (eStatus & wxODChecked)
{
//
wxBitmap vBmp(GetBitmap(IsCheckable() ? ((eStatus & wxODChecked) != 0) : TRUE));
- if (vBmp.Ok())
+ if (vBmp.IsOk())
{
wxMemoryDC vDCMem(&rDC);