wxImage image;
if ( !image.LoadFile(name, type) || !image.Ok() )
{
- wxLogError("no bitmap handler for type %d defined.", type);
+ wxLogError(_("No bitmap handler for type %d defined."), type);
return false;
}
else
return image.SaveFile(filename, type);
else
{
- wxLogError("no bitmap handler for type %d defined.", type);
+ wxLogError(_("No bitmap handler for type %d defined."), type);
return false;
}
}
{
if ( style != wxSOLID && style != wxTRANSPARENT )
{
- wxFAIL_MSG( _T("only wxSOLID and wxTRANSPARENT styles are supported") );
+ wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") );
style = wxSOLID;
}
wxBrush::wxBrush(const wxBitmap &stippleBitmap)
{
- wxFAIL_MSG( "brushes with stipple bitmaps not implemented" );
+ wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") );
m_refData = new wxBrushRefData(*wxBLACK);
}
wxBitmap *wxBrush::GetStipple() const
{
- wxFAIL_MSG( "brushes with stipple bitmaps not implemented" );
+ wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") );
return &wxNullBitmap;
}
void wxBrush::SetStipple(const wxBitmap& WXUNUSED(stipple))
{
- wxFAIL_MSG( "brushes with stipple bitmaps not implemented" );
+ wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") );
}
wxObjectRefData *wxBrush::CreateRefData() const