X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/contrib/ogl/_ogldefs.i?ds=inline diff --git a/wxPython/contrib/ogl/_ogldefs.i b/wxPython/contrib/ogl/_ogldefs.i index 435225c29c..207f8f1895 100644 --- a/wxPython/contrib/ogl/_ogldefs.i +++ b/wxPython/contrib/ogl/_ogldefs.i @@ -16,15 +16,15 @@ // OOR Support -%typemap(out) wxPyShape* { $result = wxPyMake_wxShapeEvtHandler($1); } -%typemap(out) wxPyShapeEvtHandler* { $result = wxPyMake_wxShapeEvtHandler($1); } -%typemap(out) wxPyDivisionShape* { $result = wxPyMake_wxShapeEvtHandler($1); } - -%typemap(out) wxPyShapeCanvas* { $result = wxPyMake_wxObject($1); } -%typemap(out) wxDiagram* { $result = wxPyMake_wxObject($1); } -%typemap(out) wxOGLConstraint* { $result = wxPyMake_wxObject($1); } -%typemap(out) wxPseudoMetaFile* { $result = wxPyMake_wxObject($1); } -%typemap(out) wxArrowHead* { $result = wxPyMake_wxObject($1); } +%typemap(out) wxPyShape* { $result = wxPyMake_wxShapeEvtHandler($1, $owner); } +%typemap(out) wxPyShapeEvtHandler* { $result = wxPyMake_wxShapeEvtHandler($1, $owner); } +%typemap(out) wxPyDivisionShape* { $result = wxPyMake_wxShapeEvtHandler($1, $owner); } + +%typemap(out) wxPyShapeCanvas* { $result = wxPyMake_wxObject($1, $owner); } +%typemap(out) wxDiagram* { $result = wxPyMake_wxObject($1, $owner); } +%typemap(out) wxOGLConstraint* { $result = wxPyMake_wxObject($1, $owner); } +%typemap(out) wxPseudoMetaFile* { $result = wxPyMake_wxObject($1, $owner); } +%typemap(out) wxArrowHead* { $result = wxPyMake_wxObject($1, $owner); }