wxColour wxBrush::GetColour() const
{
- wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid brush") );
+ wxCHECK_MSG( IsOk(), wxNullColour, wxT("invalid brush") );
return M_BRUSHDATA->GetColour();
}
wxBrushStyle wxBrush::GetStyle() const
{
- wxCHECK_MSG( Ok(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
+ wxCHECK_MSG( IsOk(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
return M_BRUSHDATA->GetStyle();
}
wxBitmap *wxBrush::GetStipple() const
{
- wxCHECK_MSG( Ok(), 0, wxT("invalid brush") );
+ wxCHECK_MSG( IsOk(), 0, wxT("invalid brush") );
return M_BRUSHDATA->GetStipple();
}