From 04905cca8701071bf790e00229bf95f6a07ad3b1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jan 2006 23:28:36 +0000 Subject: [PATCH] GetFont() only works after SetFont() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/dc.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 8f75eac8f5..5a7e773caf 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -659,7 +659,10 @@ rectangle are returned as a tuple.} \constfunc{const wxFont\&}{GetFont}{\void} -Gets the current font (see \helpref{wxDC::SetFont}{wxdcsetfont}). +Gets the current font. Notice that even although each device context object has +some default font after creation, this method would return a \texttt{wxNullFont} +initially and only after calling \helpref{wxDC::SetFont}{wxdcsetfont} a valid +font is returned. \membersection{wxDC::GetLogicalFunction}\label{wxdcgetlogicalfunction} -- 2.50.0