]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/image.cpp
use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add...
[wxWidgets.git] / src / common / image.cpp
index d91c445e04a4a1cbdeb4283d5330a3de067ae627..1c30e71c921b98d79af88c976057f84e18d50b0d 100644 (file)
@@ -2231,7 +2231,7 @@ bool wxImage::LoadFile( wxInputStream& stream, const wxString& mimetype, int ind
 
     if (stream.IsSeekable() && !handler->CanRead(stream))
     {
-        wxLogError(_("Image file is not of type %s."), (const wxChar*) mimetype);
+        wxLogError(_("Image file is not of type %s."), mimetype);
         return false;
     }
     else