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
This commit is contained in:
Vadim Zeitlin 2007-04-22 17:47:08 +00:00
parent 095cb950db
commit 9c57566224

View File

@ -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},\\