Add depth param to ConvertToBitmap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-10 20:06:16 +00:00
parent e572631fe1
commit 12523ae45c

View File

@ -329,8 +329,8 @@ MustHaveApp(ConvertToBitmap);
MustHaveApp(ConvertToMonoBitmap);
%extend {
wxBitmap ConvertToBitmap() {
wxBitmap bitmap(*self);
wxBitmap ConvertToBitmap(int depth=-1) {
wxBitmap bitmap(*self, depth);
return bitmap;
}