X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..a0c3c734d7fb23951645ebe69ee2a9c88b2d1356:/src/common/imagpcx.cpp?ds=sidebyside diff --git a/src/common/imagpcx.cpp b/src/common/imagpcx.cpp index c2793f6d5f..5d72d09ef0 100644 --- a/src/common/imagpcx.cpp +++ b/src/common/imagpcx.cpp @@ -229,7 +229,7 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose if (!CanRead(stream)) { if (verbose) - wxLogError(T("wxPCXHandler: this is not a PCX file")); + wxLogError(wxT("wxPCXHandler: this is not a PCX file")); return FALSE; } @@ -242,10 +242,10 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose { switch (error) { - case E_FORMATO: wxLogError(T("wxPCXHandler: image format unsupported")); break; - case E_MEMORIA: wxLogError(T("wxPCXHandler: couldn't allocate memory")); break; - case E_VERSION: wxLogError(T("wxPCXHandler: version number too low")); break; - default: wxLogError(T("wxPCXHandler: unknown error !!!")); + case E_FORMATO: wxLogError(wxT("wxPCXHandler: image format unsupported")); break; + case E_MEMORIA: wxLogError(wxT("wxPCXHandler: couldn't allocate memory")); break; + case E_VERSION: wxLogError(wxT("wxPCXHandler: version number too low")); break; + default: wxLogError(wxT("wxPCXHandler: unknown error !!!")); } } image->Destroy(); @@ -258,7 +258,7 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose bool wxPCXHandler::SaveFile( wxImage *WXUNUSED(image), wxOutputStream& WXUNUSED(stream), bool verbose ) { if (verbose) - wxLogError(T("wxPCXHandler::SaveFile still not implemented")); + wxLogError(wxT("wxPCXHandler::SaveFile still not implemented")); return FALSE; }