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:
parent
e572631fe1
commit
12523ae45c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user