X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7aada1e05a7ed29ee5a0afb5f3464b803e966d7c..f78e4942ec0f3f6abd2992502e2d6c5c2e8e55f6:/wxPython/src/grid.i diff --git a/wxPython/src/grid.i b/wxPython/src/grid.i index aab2af22ad..741c4c0915 100644 --- a/wxPython/src/grid.i +++ b/wxPython/src/grid.i @@ -1592,6 +1592,8 @@ class wxGrid : public wxScrolledWindow { public: %pythonAppend wxGrid "self._setOORInfo(self)" + %pythonAppend wxGrid() "" + %typemap(out) wxGrid*; // turn off this typemap wxGrid( wxWindow *parent, @@ -1601,7 +1603,7 @@ public: long style = wxWANTS_CHARS, const wxString& name = wxPyPanelNameStr); - %name(PreGrid) wxGrid(); + %RenameCtor(PreGrid, wxGrid()); // Turn it back on again