From: Robin Dunn Date: Fri, 10 Sep 2004 20:06:16 +0000 (+0000) Subject: Add depth param to ConvertToBitmap X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12523ae45c933e72acc621faffeef33d0e094356?ds=inline Add depth param to ConvertToBitmap git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_image.i b/wxPython/src/_image.i index 154f55d5e0..bcd1deb33d 100644 --- a/wxPython/src/_image.i +++ b/wxPython/src/_image.i @@ -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; }