X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e6b35578d9be94739e1f9ebadcb57d9a483db6a..30fc5e8fee1557e4049d35d416d76a2bebdd8780:/wxPython/src/_filesys.i?ds=sidebyside diff --git a/wxPython/src/_filesys.i b/wxPython/src/_filesys.i index d02c4d8748..aaaea5c8be 100644 --- a/wxPython/src/_filesys.i +++ b/wxPython/src/_filesys.i @@ -93,6 +93,7 @@ class wxFileSystemHandler //: public wxObject { public: //wxFileSystemHandler(); + ~wxFileSystemHandler(); }; @@ -138,7 +139,10 @@ public: wxString FindFirst(const wxString& spec, int flags = 0); wxString FindNext(); + %disownarg(wxFileSystemHandler *handler); static void AddHandler(wxFileSystemHandler *handler); + %cleardisown(wxFileSystemHandler *handler); + static void CleanUpHandlers(); // Returns the file URL for a native path