]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_filesys.i
test for special keys first, before testing for alphanumeric ones as even keys such...
[wxWidgets.git] / wxPython / src / _filesys.i
index be1b01e81ac822badcd5cec219e511503bedde28..fa76da3e68543718728f331b0d9c716a827432a4 100644 (file)
@@ -113,7 +113,7 @@ public:
 class wxPyFileSystemHandler : public wxFileSystemHandler
 {
 public:
-    %pythonAppend    wxPyFileSystemHandler "self._setCallbackInfo(self, FileSystemHandler)";
+    %pythonAppend    wxPyFileSystemHandler setCallbackInfo(FileSystemHandler)
 
     wxPyFileSystemHandler();
 
@@ -144,9 +144,15 @@ public:
 
 class wxFileSystem : public wxObject {
 public:
+    // turn off this typemap
+    %typemap(out) wxFileSystem*;    
+
     wxFileSystem();
     ~wxFileSystem();
 
+    // Turn it back on again
+    %typemap(out) wxFileSystem* { $result = wxPyMake_wxObject($1, $owner); }
+
     void ChangePathTo(const wxString& location, bool is_dir = false);
     wxString GetPath();