#include "wx/xrc/xmlres.h"
#ifndef WX_PRECOMP
- #include "wx/string.h"
+ #include "wx/log.h"
#endif // WX_PRECOMP
// ============================================================================
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;
}