diff --git a/src/common/filename.cpp b/src/common/filename.cpp index e013b51163..1786d29fd7 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -1241,20 +1241,22 @@ wxString wxFileName::GetForbiddenChars(wxPathFormat format) } /* static */ -wxString wxFileName::GetVolumeSeparator(wxPathFormat format) +wxString wxFileName::GetVolumeSeparator(wxPathFormat WXUNUSED_IN_WINCE(format)) { +#ifdef __WXWINCE__ + return wxEmptyString; +#else wxString sepVol; -#ifndef __WXWINCE__ if ( (GetFormat(format) == wxPATH_DOS) || (GetFormat(format) == wxPATH_VMS) ) { sepVol = wxFILE_SEP_DSK; } //else: leave empty -#endif return sepVol; +#endif } /* static */