]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/grid.i
Added ability to also do a remote build on the Jaguar machine
[wxWidgets.git] / wxPython / src / grid.i
index 771190095b997263817203188b7d2c097ca65cac..9a1d2909f7ff8952f6c7b9d200091ea540722dfc 100644 (file)
@@ -1592,6 +1592,7 @@ class wxGrid : public wxScrolledWindow
 {
 public:
     %pythonAppend wxGrid "self._setOORInfo(self)"
+    %typemap(out) wxGrid*;    // turn off this typemap
 
     wxGrid( wxWindow *parent,
             wxWindowID id=-1,
@@ -1602,6 +1603,10 @@ public:
 
     %name(PreGrid) wxGrid();
 
+    
+    // Turn it back on again
+    %typemap(out) wxGrid* { $result = wxPyMake_wxObject($1, $owner); }
+
 
     bool Create( wxWindow *parent,
                  wxWindowID id=-1,