]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
Make sure text part of combobox is enabled/disabled too
[wxWidgets.git] / src / common / sckfile.cpp
index a5c148b90c39a40f9d78ebc4d9ea1f908552b92f..483f4eb7c872535cd7eeed85b042f49a90f34340 100644 (file)
@@ -43,7 +43,7 @@ wxFileProto::~wxFileProto()
 
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
 
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
-  wxFileInputStream* retval = new wxFileInputStream(wxURL::ConvertFromURI(path));
+  wxFileInputStream* retval = new wxFileInputStream(wxURI::Unescape(path));
   if (retval->Ok()) {
     return retval;
   } else {
   if (retval->Ok()) {
     return retval;
   } else {