]> git.saurik.com Git - wxWidgets.git/commitdiff
GetFont() only works after SetFont()
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jan 2006 23:28:36 +0000 (23:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jan 2006 23:28:36 +0000 (23:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/dc.tex

index 8f75eac8f5db078ae12856efe0f6e9d193249039..5a7e773caf6bd6c1c39e4d3263ad32cece18c18c 100644 (file)
@@ -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}