X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..4f13428c4f852674c8f8fc99af26d9486bf907db:/include/wx/motif/dc.h?ds=sidebyside diff --git a/include/wx/motif/dc.h b/include/wx/motif/dc.h index 0d97507c97..5af2889108 100644 --- a/include/wx/motif/dc.h +++ b/include/wx/motif/dc.h @@ -1,21 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dc.h +// Name: wx/motif/dc.h // Purpose: wxDC class // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DC_H_ #define _WX_DC_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dc.h" -#endif - #include "wx/pen.h" #include "wx/brush.h" #include "wx/icon.h" @@ -64,7 +60,7 @@ public: protected: virtual void DoDrawIcon(const wxIcon& icon, wxCoord x, wxCoord y); virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y, - bool useMask = FALSE); + bool useMask = false); virtual void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height); @@ -72,7 +68,7 @@ protected: virtual void DoGetSizeMM(int* width, int* height) const; public: - void ComputeScaleAndOrigin(); + virtual void ComputeScaleAndOrigin(); wxCoord XDEV2LOG(wxCoord x) const {