]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed some bugs in wxrc compiler
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 Aug 2000 16:52:00 +0000 (16:52 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 Aug 2000 16:52:00 +0000 (16:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/utils/wxrc/wxrc.cpp
utils/wxrc/wxrc.cpp

index dc063fab0612dc07f1df28255fad1e604c8d0ceb..386a23b8afe58a3b9be830555b790ac199a1f0f5 100644 (file)
@@ -146,8 +146,6 @@ void XmlResApp::CompileRes()
 
     wxRemoveFile(parOutput);
 
-    printf("TODO: include bitmaps, list of handlers\n");
-
     if (!retCode)
     {        
         if (flagCPP)
@@ -303,7 +301,7 @@ void " + parFuncname + "()\n\
         s.Printf("    wxMemoryFSHandler::AddFile(\"xml_resource/" + flist[i] +
                  "\", xml_res_file_%i, xml_res_size_%i);\n"
                  "    wxTheXmlResource->Load(\"memory:xml_resource/" + flist[i] + 
-                 "\", wxXML_BINARY);\n", i, i);
+                 "\");\n", i, i);
         file.Write(s);
     }
     
index dc063fab0612dc07f1df28255fad1e604c8d0ceb..386a23b8afe58a3b9be830555b790ac199a1f0f5 100644 (file)
@@ -146,8 +146,6 @@ void XmlResApp::CompileRes()
 
     wxRemoveFile(parOutput);
 
-    printf("TODO: include bitmaps, list of handlers\n");
-
     if (!retCode)
     {        
         if (flagCPP)
@@ -303,7 +301,7 @@ void " + parFuncname + "()\n\
         s.Printf("    wxMemoryFSHandler::AddFile(\"xml_resource/" + flist[i] +
                  "\", xml_res_file_%i, xml_res_size_%i);\n"
                  "    wxTheXmlResource->Load(\"memory:xml_resource/" + flist[i] + 
-                 "\", wxXML_BINARY);\n", i, i);
+                 "\");\n", i, i);
         file.Write(s);
     }