X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..9342fdbe5e17b09025d53496dd983bc7eb99f21f:/wxPython/contrib/ogl/_ogldefs.i?ds=sidebyside 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); }