From 9c57566224918b8a121d1011aa7baa5b28b334a6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Apr 2007 17:47:08 +0000 Subject: [PATCH] updated SetFont() documentation: it returns bool, not void (bug 1705330) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/window.tex | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index a5689eff2d..25520ffe4f 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -2980,7 +2980,7 @@ can be overridden to do something in addition to this in the derived classes. \membersection{wxWindow::SetFont}\label{wxwindowsetfont} -\func{void}{SetFont}{\param{const wxFont\& }{font}} +\func{bool}{SetFont}{\param{const wxFont\& }{font}} Sets the font for this window. This function should not be called for the parent window if you don't want its font to be inherited by its children, @@ -2999,6 +2999,11 @@ any standard controls for drawing their text as well as by \docparam{font}{Font to associate with this window, pass {\tt wxNullFont} to reset to the default font.} +\wxheading{Return value} + +\true if the want was really changed, \false if it was already set to this +\arg{font} and so nothing was done. + \wxheading{See also} \helpref{wxWindow::GetFont}{wxwindowgetfont},\\