X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/msw/dcprint.h diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 2c7f7d42d5..9d98518299 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); @@ -57,7 +58,7 @@ protected: private: DECLARE_CLASS(wxPrinterDCImpl) - DECLARE_NO_COPY_CLASS(wxPrinterDCImpl) + wxDECLARE_NO_COPY_CLASS(wxPrinterDCImpl); }; // Gets an HDC for the specified printer configuration