X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..d1fe917ba097fd8039a4340d1d82115f72cbbd91:/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); }