Minor cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-01-17 18:26:28 +00:00
parent 7a59be6d97
commit bcfa2b3184

View File

@@ -1241,20 +1241,22 @@ wxString wxFileName::GetForbiddenChars(wxPathFormat format)
} }
/* static */ /* static */
wxString wxFileName::GetVolumeSeparator(wxPathFormat format) wxString wxFileName::GetVolumeSeparator(wxPathFormat WXUNUSED_IN_WINCE(format))
{ {
#ifdef __WXWINCE__
return wxEmptyString;
#else
wxString sepVol; wxString sepVol;
#ifndef __WXWINCE__
if ( (GetFormat(format) == wxPATH_DOS) || if ( (GetFormat(format) == wxPATH_DOS) ||
(GetFormat(format) == wxPATH_VMS) ) (GetFormat(format) == wxPATH_VMS) )
{ {
sepVol = wxFILE_SEP_DSK; sepVol = wxFILE_SEP_DSK;
} }
//else: leave empty //else: leave empty
#endif
return sepVol; return sepVol;
#endif
} }
/* static */ /* static */