#endif
// For compilers that support precompilation, includes "wx/wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
m_rc.Open(rcfile.c_str());
m_filesize=m_rc.Length();
+
m_workingpath=wxPathOnly(rcfile);
+
m_targetpath=wxPathOnly(xmlfile)+"\\";
+
+
wxSetWorkingDirectory(m_workingpath);
+
bool result;
result=m_xmlfile.Open(xmlfile.c_str(),"w+t");
wxASSERT_MSG(result,"Couldn't create XML file");
name.Replace("idr_","");
name.Replace("idb_","");
name.Replace("idc_","");
+
name.Replace(".ico","");
+
name.Replace(".bmp","");
return name;
}
wxString *bitmappath;
bitmappath=(wxString *)node->Data();
+
bitmapname=wxFileNameFromPath(*bitmappath);
wxBitmap bitmap;
if (!bitmap.LoadFile(*bitmappath,wxBITMAP_TYPE_BMP ))