X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0180d5daae8187ca9d938a1aa07e54ac16a12d1a..47bc1060127d86222768789575295254a710f5a6:/include/wx/gtk/dcclient.h diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index b85fb317d1..d9c316aa34 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -70,8 +70,8 @@ class wxPaintDC: public wxDC virtual void DrawText( const wxString &text, long x, long y, bool use16 = FALSE ); virtual bool CanGetTextExtent(void) const; virtual void GetTextExtent( const wxString &string, long *width, long *height, - long *descent = NULL, long *externalLeading = NULL, - wxFont *theFont = NULL, bool use16 = FALSE ); + long *descent = (long *) NULL, long *externalLeading = (long *) NULL, + wxFont *theFont = (wxFont *) NULL, bool use16 = FALSE ); virtual long GetCharWidth(void); virtual long GetCharHeight(void); @@ -80,6 +80,7 @@ class wxPaintDC: public wxDC virtual void SetFont( const wxFont &font ); virtual void SetPen( const wxPen &pen ); virtual void SetBrush( const wxBrush &brush ); + virtual void SetBackground( const wxBrush &brush ); virtual void SetLogicalFunction( int function ); virtual void SetTextForeground( const wxColour &col ); virtual void SetTextBackground( const wxColour &col ); @@ -89,7 +90,7 @@ class wxPaintDC: public wxDC virtual void SetClippingRegion( long x, long y, long width, long height ); virtual void DestroyClippingRegion(void); - virtual void DrawOpenSpline( wxList *points ); + virtual void DrawSpline( wxList *points ); public: // shouldn't be public