compilation in Unicode mode works with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -992,7 +992,7 @@ bool wxExprDatabase::Read(const wxString& filename)
|
||||
{
|
||||
noErrors = 0;
|
||||
|
||||
FILE *f = fopen(filename.fn_str(), "r");
|
||||
FILE *f = wxFopen(filename.fn_str(), _T("r"));
|
||||
if (f)
|
||||
{
|
||||
thewxExprDatabase = this;
|
||||
@@ -1024,7 +1024,7 @@ bool wxExprDatabase::ReadFromString(const wxString& buffer)
|
||||
|
||||
bool wxExprDatabase::Write(const wxString& fileName)
|
||||
{
|
||||
FILE *stream = fopen( fileName.fn_str(), "w+" );
|
||||
FILE *stream = wxFopen( fileName.fn_str(), _T("w+"));
|
||||
|
||||
if (!stream)
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user