Minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7a59be6d97
commit
bcfa2b3184
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user