From bcfa2b31849b797d5a0660b6a80c330f243a0211 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 17 Jan 2006 18:26:28 +0000 Subject: [PATCH] Minor cleaning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filename.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 */ -- 2.45.2