PrepareDC(rDc);
- if (!vBitmap.Ok())
+ if (!vBitmap.IsOk())
return;
if ((pMask = vBitmap.GetMask()) != NULL)
if (pMask->GetMaskBitmap() != NULLHANDLE)
wxColour vColor(wxT("GREY"));
rDc.SetTextForeground(vColor);
- if (!pTool->GetDisabledBitmap().Ok())
+ if (!pTool->GetDisabledBitmap().IsOk())
pTool->SetDisabledBitmap(wxDisableBitmap( vBitmap
,(long)GetBackgroundColour().GetPixel()
));
LowerTool(pTool);
rDc.SetTextForeground(vColor);
- if (!pTool->GetDisabledBitmap().Ok())
+ if (!pTool->GetDisabledBitmap().IsOk())
pTool->SetDisabledBitmap(wxDisableBitmap( vBitmap
,(long)GetBackgroundColour().GetPixel()
));