From: Vadim Zeitlin Date: Wed, 8 Feb 2006 13:02:20 +0000 (+0000) Subject: corrected description of font parameter of GetTextExtent() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/268b0725a2d6d67520f406552dfdea6820cbe6de corrected description of font parameter of GetTextExtent() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 6ee2cd24e6..84ddcef551 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -750,10 +750,8 @@ dimension from the baseline of the font to the bottom of the descender, and {\it externalLeading} is any extra vertical space added to the font by the font designer (usually is zero). -The optional parameter {\it font} specifies an alternative -to the currently selected font: but note that this does not -yet work under Windows, so you need to set a font for -the device context first. +If the optional parameter {\it font} is specified and valid, then it is used +for the text extent calculation. Otherwise the currently selected font is. See also \helpref{wxFont}{wxfont}, \helpref{wxDC::SetFont}{wxdcsetfont}.