Added a wxBitmap.SetMaskColour convenience method.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-02-20 19:33:17 +00:00
parent 5e7604bc22
commit 8f14f1266a

View File

@@ -68,6 +68,11 @@ public:
bool LoadFile(const wxString& name, wxBitmapType type=wxBITMAP_TYPE_ANY);
bool SaveFile(const wxString& name, wxBitmapType type, wxPalette* palette = NULL);
void SetMask(wxMask* mask);
%pragma(python) addtoclass = "
def SetMaskColour(self, colour):
mask = wxMaskColour(self, colour)
self.SetMask(mask)
"
#ifdef __WXMSW__
void SetPalette(wxPalette& palette);
#endif