Fixed the beggar good and proper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f3d3a0e751
commit
2a5d3f5738
@ -459,8 +459,8 @@ wxString wxFileSystem::FileNameToURL(const wxFileName& filename)
|
||||
fn.Normalize(wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE);
|
||||
wxString url = fn.GetFullPath(wxPATH_NATIVE);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// unc notation
|
||||
#ifndef __UNIX__
|
||||
// unc notation, wxMSW
|
||||
if ( url.Find(wxT("\\\\")) == 0 )
|
||||
{
|
||||
url = url.Mid(2);
|
||||
|
Loading…
Reference in New Issue
Block a user