Corrected Normalize invocation by casting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
baed107708
commit
aa21a09f91
@ -187,7 +187,7 @@ bool wxTextFile::OnWrite(wxTextFileType typeNew, wxMBConv& conv)
|
||||
// We do NOT want wxPATH_NORM_CASE here, or the case will not
|
||||
// be preserved.
|
||||
if ( !fn.IsAbsolute() )
|
||||
fn.Normalize(wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE | wxPATH_NORM_LONG);
|
||||
fn.Normalize((wxPathNormalize) (wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE | wxPATH_NORM_LONG));
|
||||
|
||||
wxTempFile fileTmp(fn.GetFullPath());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user