+
+// // Returns the native path for a file URL
+// static wxFileName URLToFileName(const wxString& url);
+
+// // Returns the file URL for a native path
+// static wxString FileNameToURL(const wxFileName& filename);
void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
PyObject* data) {
wxMemoryFSHandler::AddFile(filename,
void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
PyObject* data) {
wxMemoryFSHandler::AddFile(filename,
(void*)PyString_AsString(data),
(size_t)PyString_Size(data));
}
(void*)PyString_AsString(data),
(size_t)PyString_Size(data));
}
__wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
elif type(a) == types.StringType:
#__wxMemoryFSHandler_AddFile_wxString(filename, a)
__wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
elif type(a) == types.StringType:
#__wxMemoryFSHandler_AddFile_wxString(filename, a)