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