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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user