]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filesys.cpp
Give wxListBox a GetClassDefaultAttributes so wxCalendarCtrl (and
[wxWidgets.git] / src / common / filesys.cpp
index cfdcb943353dead5b9be1de93d97406c1c8bbb4b..814d17d6a6dbd4f5dbec199443c35c51ec60308c 100644 (file)
@@ -519,7 +519,7 @@ wxString wxFileSystem::FileNameToURL(const wxFileName& filename)
     // unc notation, wxMSW
     if ( url.Find(wxT("\\\\")) == 0 ) 
     {
     // unc notation, wxMSW
     if ( url.Find(wxT("\\\\")) == 0 ) 
     {
-        url = url.Mid(2);
+        url = wxT("//") + url.Mid(2);
     }
     else
     {
     }
     else
     {