From: Vadim Zeitlin Date: Mon, 4 Dec 2006 11:19:30 +0000 (+0000) Subject: added documentation of return value of ToggleWindowStyle() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e23d40190074a884b350577c63ee6194b09815c1 added documentation of return value of ToggleWindowStyle() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 7ff0b46081..1dae19c773 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -3526,7 +3526,7 @@ exactly the same number of times as \helpref{Freeze}{wxwindowfreeze}. \membersection{wxWindow::ToggleWindowStyle}\label{wxwindowtogglewindowstyle} -\func{void}{ToggleWindowStyle}{\param{int }{flag}} +\func{bool}{ToggleWindowStyle}{\param{int }{flag}} Turns the given \arg{flag} on if it's currently turned off and vice versa. This function cannot be used if the value of the flag is $0$ (which is often @@ -3535,6 +3535,11 @@ the case for default flags). Also, please notice that not all styles can be changed after the control creation. +\wxheading{Return value} + +Returns \true if the style was turned on by this function, \false if it was +switched off. + \wxheading{See also} \helpref{wxWindow::SetWindowStyleFlag}{wxwindowsetwindowstyleflag},\rtfsp