// Author: Julian Smart
// Modified by:
// Created: 04/01/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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;