}
// doesn't depend on the state
- if ( !col.Ok() )
+ if ( !col.IsOk() )
{
col = GetBg();
}
GetIndicatorsFromFlags(flags, indState, indStatus);
wxBitmap& bmp = m_bmpIndicators[indType][indState][indStatus];
- if ( !bmp.Ok() )
+ if ( !bmp.IsOk() )
{
const char **xpm = ms_xpmIndicators[indType][indState][indStatus];
if ( xpm )
{
if ( type == FrameButton_Close )
{
- if ( !m_bmpFrameClose.Ok() )
+ if ( !m_bmpFrameClose.IsOk() )
{
static const char *xpmFrameClose[] = {
/* columns rows colors chars-per-pixel */
wxCHECK_RET( arrowDir != Arrow_Max, wxT("invalid arrow direction") );
wxBitmap& bmp = m_bmpArrows[arrowDir];
- if ( !bmp.Ok() )
+ if ( !bmp.IsOk() )
{
bmp = wxBitmap(ms_xpmArrows[arrowDir]);
}