]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/_ogldefs.i
Made metal theme a little faster.
[wxWidgets.git] / wxPython / contrib / ogl / _ogldefs.i
index 1241092a2e5155df7339f25bf7f1433ef83da33f..0660991cd3ca134a7b67ee55d2b80e4015fc6280 100644 (file)
@@ -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); }