diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 7be190fe44..e013b51163 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -1245,12 +1245,14 @@ wxString wxFileName::GetVolumeSeparator(wxPathFormat format) { wxString sepVol; +#ifndef __WXWINCE__ if ( (GetFormat(format) == wxPATH_DOS) || (GetFormat(format) == wxPATH_VMS) ) { sepVol = wxFILE_SEP_DSK; } //else: leave empty +#endif return sepVol; }