From ec5006bdc630dd6b3d4cad1a3b572ab4c695a029 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 9 Mar 2007 18:44:19 +0000 Subject: [PATCH] Unicode compilation fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/dfb/bitmap.cpp | 4 ++-- src/dfb/brush.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/dfb/bitmap.cpp b/src/dfb/bitmap.cpp index 72f4fda4c0..21dffe41c9 100644 --- a/src/dfb/bitmap.cpp +++ b/src/dfb/bitmap.cpp @@ -267,7 +267,7 @@ bool wxBitmap::LoadFile(const wxString &name, wxBitmapType type) 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 @@ -301,7 +301,7 @@ bool wxBitmap::SaveFile(const wxString& filename, wxBitmapType type, const wxPal 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; } } diff --git a/src/dfb/brush.cpp b/src/dfb/brush.cpp index 475491621f..93209e3362 100644 --- a/src/dfb/brush.cpp +++ b/src/dfb/brush.cpp @@ -45,7 +45,7 @@ public: { 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; } @@ -69,7 +69,7 @@ wxBrush::wxBrush(const wxColour &colour, int style) 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); } @@ -109,7 +109,7 @@ wxColour& wxBrush::GetColour() const wxBitmap *wxBrush::GetStipple() const { - wxFAIL_MSG( "brushes with stipple bitmaps not implemented" ); + wxFAIL_MSG( wxT("brushes with stipple bitmaps not implemented") ); return &wxNullBitmap; } @@ -133,7 +133,7 @@ void wxBrush::SetStyle(int style) 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 -- 2.47.2