From 2fc70a88e81b9ecad50fac19dffb757c406d6012 Mon Sep 17 00:00:00 2001 From: "Unknown (JL)" Date: Sun, 28 Nov 1999 22:15:35 +0000 Subject: [PATCH] Same comment as in dc.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/dc.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index a685c9a576..3075bbf734 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -168,8 +168,8 @@ class WXDLLEXPORT wxDC: public wxObject virtual void GetTextExtent( const wxString &string, long *width, long *height, long *descent = NULL, long *externalLeading = NULL, wxFont *theFont = NULL, bool use16 = FALSE ) const ; - virtual long GetCharWidth(void); - virtual long GetCharHeight(void); + virtual wxCoord GetCharWidth(void) const; + virtual wxCoord GetCharHeight(void) const; virtual void Clear(void); @@ -200,9 +200,12 @@ class WXDLLEXPORT wxDC: public wxObject void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }; // the first two must be overridden and called - virtual void SetClippingRegion( long x, long y, long width, long height ); + virtual void SetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ); + virtual void SetClippingRegion( const wxRect& rect ); virtual void DestroyClippingRegion(void); + virtual void GetClippingBox( wxCoord *x, wxCoord *y, wxCoord *width, wxCoord *height ) const; virtual void GetClippingBox( long *x, long *y, long *width, long *height ) const; + virtual void GetClippingBox(wxRect& rect) const; virtual inline long MinX(void) const { return m_minX; } virtual inline long MaxX(void) const { return m_maxX; }