X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..8946ede10c2702c7acbb194fe8bd2793d7fb8358:/include/wx/msw/dcprint.h diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 2c7f7d42d5..ee442eddd1 100644 --- a/include/wx/msw/dcprint.h +++ b/include/wx/msw/dcprint.h @@ -35,7 +35,7 @@ public: virtual void StartPage(); virtual void EndPage(); - virtual wxRect GetPaperRect(); + virtual wxRect GetPaperRect() const; protected: virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y, @@ -43,7 +43,8 @@ protected: virtual bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, - int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord); + wxRasterOperationMode rop = wxCOPY, bool useMask = false, + wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord); virtual void DoGetSize(int *w, int *h) const { GetDeviceSize(w, h);