{
wxColour colBg;
- if (col.Ok())
+ if (col.IsOk())
{
colBg = col;
}
wxAlignment align,
int indexAccel)
{
- if (bitmap.Ok())
+ if (bitmap.IsOk())
DrawCheckOrRadioButton(dc, label, bitmap, rect, flags, align, indexAccel);
else
DrawCheckOrRadioButton(dc, label, GetCheckBitmap(flags), rect, flags, align, indexAccel);
wxAlignment align,
int indexAccel)
{
- if (bitmap.Ok())
+ if (bitmap.IsOk())
DrawCheckOrRadioButton(dc, label, bitmap, rect, flags, align, indexAccel);
else
DrawCheckOrRadioButton(dc, label, GetRadioBitmap(flags), rect, flags, align, indexAccel);
const wxIcon& icon,
int flags)
{
- if ( icon.Ok() )
+ if ( icon.IsOk() )
{
wxRect r = GetFrameClientArea(rect, flags & ~wxTOPLEVEL_TITLEBAR);
dc.DrawIcon(icon, r.x, r.y);
}
wxBitmap bmp = GetFrameButtonBitmap(idx);
- if ( !bmp.Ok() )
+ if ( !bmp.IsOk() )
return;
wxRect rectBtn(x, y, FRAME_BUTTON_WIDTH, FRAME_BUTTON_HEIGHT);