Fixed some (out) typemaps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-26 15:22:43 +00:00
parent b3894f30e0
commit 3ecece7e04
28 changed files with 252 additions and 101 deletions

View File

@@ -43,8 +43,14 @@ MustHaveApp(wxImageList);
// two bitmaps, or an icon.
class wxImageList : public wxObject {
public:
// turn off this typemap
%typemap(out) wxImageList*;
wxImageList(int width, int height, int mask=true, int initialCount=1);
~wxImageList();
// Turn it back on again
%typemap(out) wxImageList* { $result = wxPyMake_wxObject($1, $owner); }
int Add(const wxBitmap& bitmap, const wxBitmap& mask = wxNullBitmap);
%Rename(AddWithColourMask,int, Add(const wxBitmap& bitmap, const wxColour& maskColour));