Remove obsolete Mac Classic code from wxFileName::URLToFileName()

This platform is not supported since a long time any longer.
This commit is contained in:
Vadim Zeitlin
2019-08-25 00:53:47 +02:00
parent 111587549e
commit 1527e657c3

View File

@@ -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);