fixed UNC paths handling (patch #975038)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-23 22:20:12 +00:00
parent 6b0c752f23
commit 60c315ca1b
2 changed files with 5 additions and 1 deletions

View File

@@ -139,6 +139,10 @@ wxMotif:
- added 3 state checkbox - added 3 state checkbox
wxMSW:
- fixed UNC paths handling in wxFileSystem (Daniel Nash)
wxWinCE: wxWinCE:
- added automatized but customizable handling of native SmartPhone menus - added automatized but customizable handling of native SmartPhone menus

View File

@@ -519,7 +519,7 @@ wxString wxFileSystem::FileNameToURL(const wxFileName& filename)
// unc notation, wxMSW // unc notation, wxMSW
if ( url.Find(wxT("\\\\")) == 0 ) if ( url.Find(wxT("\\\\")) == 0 )
{ {
url = url.Mid(2); url = wxT("//") + url.Mid(2);
} }
else else
{ {