X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..f395c809b5c24d14f7cf733121d82a0b7b2ae14b:/include/wx/gtk1/dcclient.h diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index 7ae3e3099c..590ed11b6a 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/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 ); @@ -99,6 +100,7 @@ class wxPaintDC: public wxDC GdkGC *m_textGC; GdkGC *m_bgGC; GdkColormap *m_cmap; + bool m_isDrawable; void SetUpDC(void); GdkWindow *GetWindow(void);