]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/graphics.h
wxSpinCtrl values are always integral, they don't need to be rounded
[wxWidgets.git] / 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;