X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/wxPython/contrib/ogl/_ogldefs.i 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); }