if ( solidBackground )
{
const wxBrush& brush = dc.GetBackground();
- if ( brush.Ok() )
+ if ( brush.IsOk() )
{
clr = wxColourToRGB(brush.GetColour());
}
wxMask *pMask;
bool deleteMask = false;
- if ( mask.Ok() )
+ if ( mask.IsOk() )
{
hbmpMask = GetHbitmapOf(mask);
pMask = NULL;