X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..af2b012d65e12f4ed43aaa7fc18ca4017cad658a:/wxPython/contrib/ogl/_ogldefs.i?ds=sidebyside diff --git a/wxPython/contrib/ogl/_ogldefs.i b/wxPython/contrib/ogl/_ogldefs.i index 1241092a2e..0660991cd3 100644 --- a/wxPython/contrib/ogl/_ogldefs.i +++ b/wxPython/contrib/ogl/_ogldefs.i @@ -58,12 +58,13 @@ class wxPyControlPoint; // OOR Support -%typemap(python, out) wxPyShape* { $target = wxPyMake_wxObject($source); } -%typemap(python, out) wxPyShapeEvtHandler* { $target = wxPyMake_wxObject($source); } +%typemap(python, out) wxPyShape* { $target = wxPyMake_wxShapeEvtHandler($source); } +%typemap(python, out) wxPyShapeEvtHandler* { $target = wxPyMake_wxShapeEvtHandler($source); } +%typemap(python, out) wxPyDivisionShape* { $target = wxPyMake_wxShapeEvtHandler($source); } + %typemap(python, out) wxPyShapeCanvas* { $target = wxPyMake_wxObject($source); } %typemap(python, out) wxDiagram* { $target = wxPyMake_wxObject($source); } %typemap(python, out) wxOGLConstraint* { $target = wxPyMake_wxObject($source); } -%typemap(python, out) wxPyDivisionShape* { $target = wxPyMake_wxObject($source); } %typemap(python, out) wxPseudoMetaFile* { $target = wxPyMake_wxObject($source); } %typemap(python, out) wxArrowHead* { $target = wxPyMake_wxObject($source); }