Unicode compilation fixes after wxFFile change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -173,7 +173,7 @@ bool wxTextCtrlBase::SaveFile(const wxString& filename)
|
||||
}
|
||||
|
||||
#if wxUSE_FFILE
|
||||
wxFFile file(filename, "w");
|
||||
wxFFile file(filename, _T("w"));
|
||||
if ( file.IsOpened() && file.Write(GetValue()) )
|
||||
{
|
||||
// it's not modified any longer
|
||||
|
Reference in New Issue
Block a user