]> git.saurik.com Git - wxWidgets.git/commitdiff
wxFileSystemHandler needs a destructor and to give ownership to wxFileSystem
authorRobin Dunn <robin@alldunn.com>
Fri, 24 Mar 2006 00:12:12 +0000 (00:12 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 24 Mar 2006 00:12:12 +0000 (00:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_filesys.i

index d02c4d874809d8e1188d6eebfa8ce0814fb0a96d..aaaea5c8bed55f00ae0e3e2883e76cd166a7fe7d 100644 (file)
@@ -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