]> git.saurik.com Git - wxWidgets.git/commitdiff
document that font set with SetFont() is not automatically used by wxPaint/Client...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jan 2006 23:30:06 +0000 (23:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jan 2006 23:30:06 +0000 (23:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/window.tex

index 6f954a2a1e4da9b706db2f17a1701925e8cfbfa4..3cbe01776773af9c45fd6a72457394d0d2949dd1 100644 (file)
@@ -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