break;
default:
- wxFAIL_MSG( _T("unknown brush style") );
+ wxFAIL_MSG( wxT("unknown brush style") );
// fall through
case wxBRUSHSTYLE_SOLID:
if ( !m_hBrush )
{
- wxLogLastError(_T("CreateXXXBrush()"));
+ wxLogLastError(wxT("CreateXXXBrush()"));
}
}
wxColour wxBrush::GetColour() const
{
- wxCHECK_MSG( Ok(), wxNullColour, _T("invalid brush") );
+ wxCHECK_MSG( IsOk(), wxNullColour, wxT("invalid brush") );
return M_BRUSHDATA->GetColour();
}
wxBrushStyle wxBrush::GetStyle() const
{
- wxCHECK_MSG( Ok(), wxBRUSHSTYLE_INVALID, _T("invalid brush") );
+ wxCHECK_MSG( IsOk(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
return M_BRUSHDATA->GetStyle();
}
wxBitmap *wxBrush::GetStipple() const
{
- wxCHECK_MSG( Ok(), NULL, _T("invalid brush") );
+ wxCHECK_MSG( IsOk(), NULL, wxT("invalid brush") );
return M_BRUSHDATA->GetStipple();
}
WXHANDLE wxBrush::GetResourceHandle() const
{
- wxCHECK_MSG( Ok(), FALSE, _T("invalid brush") );
+ wxCHECK_MSG( IsOk(), FALSE, wxT("invalid brush") );
return (WXHANDLE)M_BRUSHDATA->GetHBRUSH();
}