From 3e482a64861ccc4b11e1d05c95fb50c21972c4a0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Jan 2002 00:14:43 +0000 Subject: [PATCH] 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 --- docs/latex/wx/dc.tex | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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}. -- 2.45.2