]> git.saurik.com Git - wxWidgets.git/commitdiff
adding defaults as wxDC did
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 9 Oct 2009 17:34:39 +0000 (17:34 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 9 Oct 2009 17:34:39 +0000 (17:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/graphics.h

index ef8501e4edb4733fdd4c3ee3e5dc47846265875b..8d6c126e7b8c21e26aa8791a58663b46f2bab7d2 100644 (file)
@@ -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;