From 9bd36c6c0fa19e351d84e5a31062fbb14b6948eb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 9 Oct 2009 17:34:39 +0000 Subject: [PATCH] adding defaults as wxDC did git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/graphics.h b/include/wx/graphics.h index ef8501e4ed..8d6c126e7b 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -491,7 +491,7 @@ public: virtual void GetTextExtent( const wxString &text, wxDouble *width, wxDouble *height, - wxDouble *descent, wxDouble *externalLeading ) const = 0; + wxDouble *descent = NULL, wxDouble *externalLeading = NULL ) const = 0; virtual void GetPartialTextExtents(const wxString& text, wxArrayDouble& widths) const = 0; -- 2.45.2