X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a724d7892daa5a4eb5e7eb615bfbb4779730f4a6..90186e524e347a3a779c928a44fb7d744b3efcf7:/include/wx/motif/dcclient.h diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index 3caa023ff3..fc256e3e4d 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -43,7 +43,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC ~wxWindowDC(void); - virtual void FloodFill( long x1, long y1, wxColour* col, int style=wxFLOOD_SURFACE ); + virtual void FloodFill( long x1, long y1, const wxColour& col, int style=wxFLOOD_SURFACE ); virtual bool GetPixel( long x1, long y1, wxColour *col ) const; virtual void DrawLine( long x1, long y1, long x2, long y2 ); @@ -64,7 +64,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC virtual void DrawEllipse( long x, long y, long width, long height ); virtual bool CanDrawBitmap(void) const; - virtual void DrawIcon( const wxIcon &icon, long x, long y, bool useMask=FALSE ); + virtual void DrawIcon( const wxIcon &icon, long x, long y); virtual bool Blit( long xdest, long ydest, long width, long height, wxDC *source, long xsrc, long ysrc, int logical_func = wxCOPY, bool useMask=FALSE ); @@ -77,6 +77,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC virtual long GetCharHeight(void); virtual void Clear(void); + virtual void Clear(const wxRect& rect); virtual void SetFont( const wxFont &font ); virtual void SetPen( const wxPen &pen );