]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/_ogldefs.i
Another package name fix
[wxWidgets.git] / wxPython / contrib / ogl / _ogldefs.i
index 435225c29c8813a3d9d696d4b102c3cc2f82fdc5..207f8f1895c7d3d657329746ce3b74a75622d018 100644 (file)
 
 
 // OOR Support
 
 
 // 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); }