X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec585c30ecbfa114b5392c2982c43eb11bdda636..00b4e7c946860a23696ea5189c7da2eefbeb3e3b:/src/xrc/xmladv.cpp diff --git a/src/xrc/xmladv.cpp b/src/xrc/xmladv.cpp index ad3c96aa93..6f6f36067a 100644 --- a/src/xrc/xmladv.cpp +++ b/src/xrc/xmladv.cpp @@ -38,7 +38,7 @@ // ============================================================================ #if wxUSE_ANIMATIONCTRL -wxAnimation wxXmlResourceHandler::GetAnimation(const wxString& param) +wxAnimation wxXmlResourceHandlerImpl::GetAnimation(const wxString& param) { const wxString name = GetParamValue(param); if ( name.empty() ) @@ -60,8 +60,11 @@ wxAnimation wxXmlResourceHandler::GetAnimation(const wxString& param) if ( !ani.IsOk() ) { - wxLogError(_("XRC resource: Cannot create animation from '%s'."), - name.c_str()); + ReportParamError + ( + param, + wxString::Format("cannot create animation from \"%s\"", name) + ); return wxNullAnimation; }