git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30139
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/log.h"
-#include "wx/url.h"
+#include "wx/uri.h"
#include <gdk/gdk.h>
lenPrefix += 2;
}
- AddFile(
-#if wxUSE_URL
- wxURL::ConvertFromURI
-#endif // wxUSE_URL
- (filename.c_str() + lenPrefix));
+ AddFile(wxURI::Unescape(filename.c_str() + lenPrefix));
filename.Empty();
}
else
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/log.h"
-#include "wx/url.h"
+#include "wx/uri.h"
#include <gdk/gdk.h>
lenPrefix += 2;
}
- AddFile(
-#if wxUSE_URL
- wxURL::ConvertFromURI
-#endif // wxUSE_URL
- (filename.c_str() + lenPrefix));
+ AddFile(wxURI::Unescape(filename.c_str() + lenPrefix));
filename.Empty();
}
else