From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Tue, 3 Jun 2003 10:55:47 +0000 (+0000)
Subject: Unicode compilation fix (patch 747959)
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e7546115dbe9f974aaa93620288e5b2b1727550c

Unicode compilation fix (patch 747959)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/utils/makegen/makegen.cpp b/utils/makegen/makegen.cpp
index 7db8b972a7..424d3257c7 100644
--- a/utils/makegen/makegen.cpp
+++ b/utils/makegen/makegen.cpp
@@ -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());