+
+// Returns the native path for a file URL
+wxString wxFileSystem_URLToFileName(const wxString& url);
+%{
+ wxString wxFileSystem_URLToFileName(const wxString& url) {
+ wxFileName fname = wxFileSystem::URLToFileName(url);
+ return fname.GetFullPath();
+ }
+%}
+