fixed return value of Enable() and Disable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2a77c8c455
commit
df00166097
@ -397,6 +397,11 @@ Destroys all children of a window. Called automatically by the destructor.
|
||||
|
||||
Disables the window, same as \helpref{Enable({\tt FALSE})}{wxwindowenable}.
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
Returns {\tt TRUE} if the window has been disabled, {\tt FALSE} if it had been
|
||||
already disabled before the call to this function.
|
||||
|
||||
\membersection{wxWindow::DragAcceptFiles}\label{wxwindowdragacceptfiles}
|
||||
|
||||
\func{virtual void}{DragAcceptFiles}{\param{bool}{ accept}}
|
||||
@ -414,7 +419,7 @@ Windows only.
|
||||
|
||||
\membersection{wxWindow::Enable}\label{wxwindowenable}
|
||||
|
||||
\func{virtual void}{Enable}{\param{bool}{ enable = {\tt TRUE}}}
|
||||
\func{virtual bool}{Enable}{\param{bool}{ enable = {\tt TRUE}}}
|
||||
|
||||
Enable or disable the window for user input.
|
||||
|
||||
@ -422,6 +427,11 @@ Enable or disable the window for user input.
|
||||
|
||||
\docparam{enable}{If {\tt TRUE}, enables the window for input. If {\tt FALSE}, disables the window.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
Returns {\tt TRUE} if the window has been enabled or disabled, {\tt FALSE} if
|
||||
nothing was done, i.e. if the window had already been in the specified state.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::IsEnabled}{wxwindowisenabled},\rtfsp
|
||||
|
Loading…
Reference in New Issue
Block a user