return wxFileSystemHandler::GetRightLocation(location);
}
- wxString GetMimeTypeFromExt(const wxString& location){
+ wxString GetMimeTypeFromExt(const wxString& location) {
return wxFileSystemHandler::GetMimeTypeFromExt(location);
}
wxMemoryFSHandler::AddFile(filename, bitmap, type);
}
-// void __wxMemoryFSHandler_AddFile_wxString(const wxString& filename,
-// const wxString& textdata) {
-// wxMemoryFSHandler::AddFile(filename, textdata);
-// }
-
void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
PyObject* data) {
wxMemoryFSHandler::AddFile(filename,
+ // TODO: Verify data type
(void*)PyString_AsString(data),
(size_t)PyString_Size(data));
}
_arg0 = temp->m_wxis;
created = FALSE;
} else {
- _arg0 = wxPyCBInputStream::create(_obj0, FALSE);
+ _arg0 = wxPyCBInputStream_create(_obj0, FALSE);
if (_arg0 == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;