X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/148b44a1e7d050307bba3f10fd4520aa514e196f..a9102b3671a45d116d781b0c8e90d2e9a84fbdcb:/include/wx/motif/dcclient.h?ds=sidebyside diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index ef1fabd10b..fa04c08521 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -12,7 +12,7 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif @@ -93,8 +93,8 @@ protected: // note that this function will call colour.SetPixel, // and will do one of curCol = colour, curCol = wxWHITE, curCol = wxBLACK // roundToWhite has an effect for monochrome display only - // if roundToWhite == TRUE then the colour will be set to white unless - // it is RGB 0x000000;if roundToWhite == FALSE the colour wull be set to + // if roundToWhite == true then the colour will be set to white unless + // it is RGB 0x000000;if roundToWhite == true the colour wull be set to // black unless it id RGB 0xffffff int CalculatePixel(wxColour& colour, wxColour& curCol, bool roundToWhite) const; @@ -129,7 +129,7 @@ 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 = -1, wxCoord ysrcMask = -1); + int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = -1, wxCoord ysrcMask = -1); virtual void DoSetClippingRegionAsRegion(const wxRegion& region); virtual void DoSetClippingRegion(wxCoord x, wxCoord y,