]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_filesys.i
Make EquivalentEncodings 3-dimensional array const, moving 864 bytes from data segmen...
[wxWidgets.git] / wxPython / src / _filesys.i
index bdcc819ed4e60f6d96ae166631ff061f6c6b21c8..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
@@ -206,7 +210,7 @@ public:
             return;
         }
 
-        bool blocked = wxPyBeginBlockThreads();
+        wxPyBlock_t blocked = wxPyBeginBlockThreads();
         void*  ptr = (void*)PyString_AsString(data);
         size_t size = PyString_Size(data);
         wxPyEndBlockThreads(blocked);