From 1527e657c3b5b1e17e4ddf7f07ea4fca83b1b10c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Aug 2019 00:53:47 +0200 Subject: [PATCH] Remove obsolete Mac Classic code from wxFileName::URLToFileName() This platform is not supported since a long time any longer. --- src/common/filename.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/common/filename.cpp b/src/common/filename.cpp index f016b104a4..3ad3b2d607 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -2518,11 +2518,6 @@ wxFileName wxFileName::URLToFileName(const wxString& url) { path = path.Mid(5); } - // Remove preceding double slash on Mac Classic -#if defined(__WXMAC__) && !defined(__UNIX__) - else if ( path.Find(wxT("//")) == 0 ) - path = path.Mid(2); -#endif path = wxURI::Unescape(path);