From: Robin Dunn Date: Sun, 22 Oct 2006 04:14:31 +0000 (+0000) Subject: No need to use wxPyMake_wxObject for wxImageList. There are no X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bbc3761ee897d2cdae209c60d415ba00fe825554 No need to use wxPyMake_wxObject for wxImageList. There are no derived types, and it is not OOR. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index 8a96849e48..a16dbff87f 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -370,7 +370,7 @@ MAKE_INT_ARRAY_TYPEMAPS(styles, styles_field) %typemap(out) wxDC* { $result = wxPyMake_wxObject($1, (bool)$owner); } %typemap(out) wxFSFile* { $result = wxPyMake_wxObject($1, (bool)$owner); } %typemap(out) wxFileSystem* { $result = wxPyMake_wxObject($1, (bool)$owner); } -%typemap(out) wxImageList* { $result = wxPyMake_wxObject($1, (bool)$owner); } +//%typemap(out) wxImageList* { $result = wxPyMake_wxObject($1, (bool)$owner); } %typemap(out) wxImage* { $result = wxPyMake_wxObject($1, (bool)$owner); } %typemap(out) wxListItem* { $result = wxPyMake_wxObject($1, (bool)$owner); } %typemap(out) wxMenuItem* { $result = wxPyMake_wxObject($1, (bool)$owner); }