fixed some bugs in wxrc compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,8 +146,6 @@ void XmlResApp::CompileRes()
|
|||||||
|
|
||||||
wxRemoveFile(parOutput);
|
wxRemoveFile(parOutput);
|
||||||
|
|
||||||
printf("TODO: include bitmaps, list of handlers\n");
|
|
||||||
|
|
||||||
if (!retCode)
|
if (!retCode)
|
||||||
{
|
{
|
||||||
if (flagCPP)
|
if (flagCPP)
|
||||||
@@ -303,7 +301,7 @@ void " + parFuncname + "()\n\
|
|||||||
s.Printf(" wxMemoryFSHandler::AddFile(\"xml_resource/" + flist[i] +
|
s.Printf(" wxMemoryFSHandler::AddFile(\"xml_resource/" + flist[i] +
|
||||||
"\", xml_res_file_%i, xml_res_size_%i);\n"
|
"\", xml_res_file_%i, xml_res_size_%i);\n"
|
||||||
" wxTheXmlResource->Load(\"memory:xml_resource/" + flist[i] +
|
" wxTheXmlResource->Load(\"memory:xml_resource/" + flist[i] +
|
||||||
"\", wxXML_BINARY);\n", i, i);
|
"\");\n", i, i);
|
||||||
file.Write(s);
|
file.Write(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -146,8 +146,6 @@ void XmlResApp::CompileRes()
|
|||||||
|
|
||||||
wxRemoveFile(parOutput);
|
wxRemoveFile(parOutput);
|
||||||
|
|
||||||
printf("TODO: include bitmaps, list of handlers\n");
|
|
||||||
|
|
||||||
if (!retCode)
|
if (!retCode)
|
||||||
{
|
{
|
||||||
if (flagCPP)
|
if (flagCPP)
|
||||||
@@ -303,7 +301,7 @@ void " + parFuncname + "()\n\
|
|||||||
s.Printf(" wxMemoryFSHandler::AddFile(\"xml_resource/" + flist[i] +
|
s.Printf(" wxMemoryFSHandler::AddFile(\"xml_resource/" + flist[i] +
|
||||||
"\", xml_res_file_%i, xml_res_size_%i);\n"
|
"\", xml_res_file_%i, xml_res_size_%i);\n"
|
||||||
" wxTheXmlResource->Load(\"memory:xml_resource/" + flist[i] +
|
" wxTheXmlResource->Load(\"memory:xml_resource/" + flist[i] +
|
||||||
"\", wxXML_BINARY);\n", i, i);
|
"\");\n", i, i);
|
||||||
file.Write(s);
|
file.Write(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user