]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xmlres.cpp
added wxWizard handler to XRC
[wxWidgets.git] / contrib / src / xrc / xmlres.cpp
index e5dc7279145f2f724fbfea4e76ffead0acaf9a1e..f7355536ee72b654b7af5a7f94a7c6a32d37df35 100644 (file)
@@ -868,7 +868,8 @@ wxBitmap wxXmlResourceHandler::GetBitmap(const wxString& param,
     wxFSFile *fsfile = GetCurFileSystem().OpenFile(name);
     if (fsfile == NULL)
     {
-        wxLogError(_("XRC resource: Cannot create bitmap from '%s'."), param.c_str());
+        wxLogError(_("XRC resource: Cannot create bitmap from '%s'."),
+                   name.c_str());
         return wxNullBitmap;
     }
     wxImage img(*(fsfile->GetStream()));