X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2286341c8d8c72b3eb65ffe23cfc8756f841b1c3..1fe1a4dc258d7b08aaadced9c20238a281359773:/utils/makegen/makegen.cpp diff --git a/utils/makegen/makegen.cpp b/utils/makegen/makegen.cpp index d43572aadc..424d3257c7 100644 --- a/utils/makegen/makegen.cpp +++ b/utils/makegen/makegen.cpp @@ -28,15 +28,15 @@ // headers // ---------------------------------------------------------------------------- -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "wx/string.h" +#include "wx/file.h" +#include "wx/ffile.h" +#include "wx/app.h" +#include "wx/log.h" +#include "wx/dir.h" +#include "wx/textfile.h" +#include "wx/datetime.h" +#include "wx/cmdline.h" // ---------------------------------------------------------------------------- // the application class @@ -83,7 +83,7 @@ bool MakeGenApp::GenerateMakefile(const wxString& filename) wxString fileOutName; fileOutName << m_outdir << _T('/') << filename; - wxFFile fileOut(fileOutName, "w"); + wxFFile fileOut(fileOutName, _T("w")); if ( !fileOut.IsOpened() ) { wxLogError(_T("Makefile '%s' couldn't be generated."), filename.c_str());