X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15e8daecf594d38a57bc750f58de0ea33b79f4ee..530710322731ae53c2de235c04e529554cb70975:/contrib/src/deprecated/resource.cpp diff --git a/contrib/src/deprecated/resource.cpp b/contrib/src/deprecated/resource.cpp index a179f370d2..17a5fdadc4 100644 --- a/contrib/src/deprecated/resource.cpp +++ b/contrib/src/deprecated/resource.cpp @@ -2663,7 +2663,7 @@ wxIcon wxResourceCreateIcon(const wxString& resource, wxResourceTable *table) wxLogWarning(_("Icon resource specification %s not found."), (const wxChar*) resource); break; #else - return wxIcon(name, bitmapType); + return wxIcon(name, (wxBitmapType) bitmapType); #endif } } @@ -3123,7 +3123,7 @@ bool wxResourceReadOneResourceString(char *s, wxExprDatabase& db, bool *eof, wxR return TRUE; } -bool wxResourceParseString(const wxString& s, wxResourceTable *table) +bool wxResourceParseString(const wxString& s, wxResourceTable *WXUNUSED(table)) { #if wxUSE_UNICODE return wxResourceParseString( (char*)s.mb_str().data() );