]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/my_typemaps.i
Changes needed to solve wxPython's OOR problem for the wxOGL shapes.
[wxWidgets.git] / wxPython / src / my_typemaps.i
index 6be6572f4cfbffa42d5746b48780651d0bbdc8ca..249881280c6f2442da7f361c2d655484e0eb9511 100644 (file)
 %typemap(python, out) wxMouseEvent*             { $target = wxPyMake_wxObject($source); }
 %typemap(python, out) wxObject*                 { $target = wxPyMake_wxObject($source); }
 %typemap(python, out) wxPyPrintout*             { $target = wxPyMake_wxObject($source); }
-%typemap(python, out) wxSizer*                  { $target = wxPyMake_wxObject($source); }
 %typemap(python, out) wxToolBarToolBase*        { $target = wxPyMake_wxObject($source); }
 %typemap(python, out) wxToolTip*                { $target = wxPyMake_wxObject($source); }
 
 %typemap(python, out) wxToolBarBase*            { $target = wxPyMake_wxObject($source); }
 %typemap(python, out) wxWindow*                 { $target = wxPyMake_wxObject($source); }
 
+%typemap(python, out) wxSizer*                  { $target = wxPyMake_wxSizer($source); }
+
 
 //%typemap(python, out) wxHtmlCell*               { $target = wxPyMake_wxObject($source); }
 //%typemap(python, out) wxHtmlContainerCell*      { $target = wxPyMake_wxObject($source); }