Avoid using the OOR typemap in the constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user