X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b8c7ba607a15a2ff8a04448138df9ffff7df6c5..716a5baa6ecd0d5d0c31914567e4da3165ca6ff0:/wxPython/src/_filesys.i?ds=sidebyside diff --git a/wxPython/src/_filesys.i b/wxPython/src/_filesys.i index a8addb513a..d02c4d8748 100644 --- a/wxPython/src/_filesys.i +++ b/wxPython/src/_filesys.i @@ -27,8 +27,8 @@ class wxFSFile : public wxObject { public: %pythonAppend wxFSFile - "self.thisown = 0 # It will normally be deleted by the user of the wxFileSystem"; - + "self.thisown = 0 # It will normally be deleted by the user of the wx.FileSystem"; + wxFSFile(wxInputStream *stream, const wxString& loc, const wxString& mimetype, const wxString& anchor, wxDateTime modif); @@ -206,7 +206,7 @@ public: return; } - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); void* ptr = (void*)PyString_AsString(data); size_t size = PyString_Size(data); wxPyEndBlockThreads(blocked);