git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43797
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\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
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