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
This commit is contained in:
parent
04905cca87
commit
2ad97616eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user