-class wxFSFile {
+class wxFSFile : public wxObject {
public:
wxFSFile(wxInputStream *stream, const wxString& loc,
const wxString& mimetype, const wxString& anchor,
%}
-%name(wxCPPFileSystemHandler)class wxFileSystemHandler {
- wxFileSystemHandler();
+%name(wxCPPFileSystemHandler)class wxFileSystemHandler : public wxObject {
+ wxFileSystemHandler();
}
%name(wxFileSystemHandler)class wxPyFileSystemHandler : public wxFileSystemHandler {
//---------------------------------------------------------------------------
-class wxFileSystem {
+class wxFileSystem : public wxObject {
public:
wxFileSystem();
"
+//---------------------------------------------------------------------------
+
+%init %{
+ wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
+%}
+
//---------------------------------------------------------------------------