X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ae7410f5522bc6047b842359318fc9521353186..2bf8f4c0d57be03ee27a0f84d041ebcb99202497:/include/wx/msw/dc.h diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index 895aa8c50c..0ab2cc622e 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -232,6 +232,8 @@ protected: virtual void DoDrawPolyPolygon(int n, int count[], wxPoint points[], wxCoord xoffset, wxCoord yoffset, int fillStyle = wxODDEVEN_RULE); + virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const + { return subrect == NULL ? GetSelectedBitmap() : GetSelectedBitmap().GetSubBitmap(*subrect); } #if wxUSE_PALETTE