All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include <wx/wxprec.h>
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ cross platform (wxGTK,etc)
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include <wx/wxprec.h>
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
@@ -68,11 +68,16 @@ bool rc2xml::Convert(wxString rcfile, wxString xmlfile)
|
||||
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");
|
||||
@@ -1029,7 +1034,9 @@ wxString rc2xml::CleanName(wxString name)
|
||||
name.Replace("idr_","");
|
||||
name.Replace("idb_","");
|
||||
name.Replace("idc_","");
|
||||
|
||||
name.Replace(".ico","");
|
||||
|
||||
name.Replace(".bmp","");
|
||||
return name;
|
||||
}
|
||||
@@ -1184,6 +1191,7 @@ void rc2xml::WriteBitmap(wxString bitmapname)
|
||||
|
||||
wxString *bitmappath;
|
||||
bitmappath=(wxString *)node->Data();
|
||||
|
||||
bitmapname=wxFileNameFromPath(*bitmappath);
|
||||
wxBitmap bitmap;
|
||||
if (!bitmap.LoadFile(*bitmappath,wxBITMAP_TYPE_BMP ))
|
||||
|
Reference in New Issue
Block a user