X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..e951b8e4e6c07fe5d5200b8cbf6148e7317aa0e5:/include/wx/msw/dcprint.h diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 08601a2dbf..c39ddbfc8e 100644 --- a/include/wx/msw/dcprint.h +++ b/include/wx/msw/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif @@ -25,7 +25,7 @@ class WXDLLEXPORT wxPrinterDC : public wxDC { public: // Create a printer DC (obsolete function: use wxPrintData version now) - wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT); + wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = true, int orientation = wxPORTRAIT); // Create from print data wxPrinterDC(const wxPrintData& data); @@ -40,11 +40,11 @@ public: protected: virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y, - bool useMask = FALSE); + bool useMask = false); 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 = -1, wxCoord ysrcMask = -1); + int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord); // init the dc void Init();