]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmladv.cpp
Always use active wxTranslations instance via wxLocale.
[wxWidgets.git] / src / xrc / xmladv.cpp
index ad3c96aa9315d22659d03b0866378f2111477d13..5087147e2fefed94c0c7ce09775ef97ac71f0ca5 100644 (file)
@@ -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;
     }