]> git.saurik.com Git - wxWidgets.git/commitdiff
added documentation of return value of ToggleWindowStyle()
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Dec 2006 11:19:30 +0000 (11:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Dec 2006 11:19:30 +0000 (11:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/window.tex

index 7ff0b460813005c68050ffe3c78862cae566180e..1dae19c773487c56bce11d67b66fd19cecae3f69 100644 (file)
@@ -3526,7 +3526,7 @@ exactly the same number of times as \helpref{Freeze}{wxwindowfreeze}.
 
 \membersection{wxWindow::ToggleWindowStyle}\label{wxwindowtogglewindowstyle}
 
 
 \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
 
 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.
 
 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
 \wxheading{See also}
 
 \helpref{wxWindow::SetWindowStyleFlag}{wxwindowsetwindowstyleflag},\rtfsp