X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46dc76ba3573649a9ed7c7aff6dc677f533eee11..30f82ea416c2b34d1d608cf6ebc369690eb2304e:/include/wx/gtk/dcclient.h diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 57b784c0f4..590ed11b6a 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);