wxFileSystemHandler needs a destructor and to give ownership to wxFileSystem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-03-24 00:12:12 +00:00
parent 2fbb702ba3
commit cdd7b180fe

View File

@@ -93,6 +93,7 @@ class wxFileSystemHandler //: public wxObject
{ {
public: public:
//wxFileSystemHandler(); //wxFileSystemHandler();
~wxFileSystemHandler();
}; };
@@ -138,7 +139,10 @@ public:
wxString FindFirst(const wxString& spec, int flags = 0); wxString FindFirst(const wxString& spec, int flags = 0);
wxString FindNext(); wxString FindNext();
%disownarg(wxFileSystemHandler *handler);
static void AddHandler(wxFileSystemHandler *handler); static void AddHandler(wxFileSystemHandler *handler);
%cleardisown(wxFileSystemHandler *handler);
static void CleanUpHandlers(); static void CleanUpHandlers();
// Returns the file URL for a native path // Returns the file URL for a native path