From: Vadim Zeitlin Date: Wed, 9 Jan 2002 00:14:43 +0000 (+0000) Subject: wxNullFont shouldn't be passed to wxDC::SetFont() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3e482a64861ccc4b11e1d05c95fb50c21972c4a0 wxNullFont shouldn't be passed to wxDC::SetFont() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 5bb946f363..09c3f4e560 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -807,11 +807,8 @@ when drawing into a monochrome bitmap. \func{void}{SetFont}{\param{const wxFont\& }{font}} -Sets the current font for the DC. - -If the argument is wxNullFont, the current font is selected out of the device -context, and the original font restored, allowing the current font to -be destroyed safely. +Sets the current font for the DC. It must be a valid font, in particular you +should not pass {\tt wxNullFont} to this method. See also \helpref{wxFont}{wxfont}.