X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c24e7adf051b2b522bcfc70d3ca70b07c206275..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/os2/dcprint.h diff --git a/include/wx/os2/dcprint.h b/include/wx/os2/dcprint.h index b742273bc9..7baef4a679 100644 --- a/include/wx/os2/dcprint.h +++ b/include/wx/os2/dcprint.h @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 09/12/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -18,7 +17,7 @@ #include "wx/cmndata.h" #include "wx/os2/dc.h" -class WXDLLEXPORT wxPrinterDCImpl: public wxPMDCImpl +class WXDLLIMPEXP_CORE wxPrinterDCImpl: public wxPMDCImpl { public: // Create a printer DC @@ -33,7 +32,7 @@ class WXDLLEXPORT wxPrinterDCImpl: public wxPMDCImpl virtual void StartPage(void); virtual void EndPage(void); - virtual wxRect GetPaperRect(); + virtual wxRect GetPaperRect() const; protected: virtual void DoDrawBitmap( const wxBitmap& rBmp @@ -48,7 +47,7 @@ protected: ,wxDC* pSource ,wxCoord vXsrc ,wxCoord vYsrc - ,int nRop = wxCOPY + ,wxRasterOperationMode nRop = wxCOPY ,bool bUseMask = FALSE ,wxCoord vXsrcMask = -1 ,wxCoord vYsrcMask = -1 @@ -60,11 +59,11 @@ protected: wxPrintData m_printData; private: DECLARE_CLASS(wxPrinterDCImpl) - DECLARE_NO_COPY_CLASS(wxPrinterDCImpl) + wxDECLARE_NO_COPY_CLASS(wxPrinterDCImpl); }; // end of CLASS wxPrinterDC // Gets an HDC for the specified printer configuration -WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& rData); +WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& rData); #endif // wxUSE_PRINTING_ARCHITECTURE