git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44704
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxImage image;
if ( !image.LoadFile(name, type) || !image.Ok() )
{
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 image.SaveFile(filename, type);
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);
{
if ( style != wxSOLID && style != wxTRANSPARENT )
{
{
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") );
wxBrush::wxBrush(const wxBitmap &stippleBitmap)
{
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);
}
m_refData = new wxBrushRefData(*wxBLACK);
}
wxBitmap *wxBrush::GetStipple() const
{
wxBitmap *wxBrush::GetStipple() const
{
- wxFAIL_MSG( "brushes with stipple bitmaps not implemented" );
+ wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") );
void wxBrush::SetStipple(const wxBitmap& WXUNUSED(stipple))
{
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
}
wxObjectRefData *wxBrush::CreateRefData() const