From 2ad97616eb44bbba861616e2020d95907b394358 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jan 2006 23:30:06 +0000 Subject: [PATCH] document that font set with SetFont() is not automatically used by wxPaint/Client/WindowDC associated with the window git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/window.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 6f954a2a1e..3cbe017767 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -2760,6 +2760,12 @@ use \helpref{SetOwnFont}{wxwindowsetownfont} instead in this case and see \helpref{InheritAttributes}{wxwindowinheritattributes} for more explanations. +Please notice that the given font is \emph{not} automatically used for +\helpref{wxPaintDC}{wxpaintdc} objects associated with this window, you need to +call \helpref{wxDC::SetFont()}{wxdcsetfont} too. However this font is used by +any standard controls for drawing their text as well as by +\helpref{wxWindow::GetTextExtent()}{wxwindowgettextextent}. + \wxheading{Parameters} \docparam{font}{Font to associate with this window, pass