X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4db97e24f5e2ad38970c55148ddb807399ecd191..691745ab412824d74d036930ad69accbe37d97b4:/samples/docview/view.cpp diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index 555368aa7b..5b3743fd90 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -336,7 +336,7 @@ void ImageView::OnDraw(wxDC* dc) wxImage image = GetDocument()->GetImage(); if ( image.IsOk() ) { - dc->DrawBitmap(wxBitmap(image), 0, 0); + dc->DrawBitmap(wxBitmap(image), 0, 0, true /* use mask */); } }