]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dc.h
Avoid do-nothing virtuals in WinCE.
[wxWidgets.git] / include / wx / msw / dc.h
index 895aa8c50c27a857586b8d294474a120d9cbc1cb..0ab2cc622ec5e4611b3673f670cbc608a2d6db69 100644 (file)
@@ -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