X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d577d610a32d7c10f47cc76224a02c5d80166c9e..30acf700f91bc40b1549d71c9fc0186ce4f1cafd:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index ef0b625cdb..ac4fba3bba 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -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 @@ -1725,7 +1735,7 @@ functions so should not be required by the application programmer. \docparam{child}{Child window to remove.} -\membersection{wxWindow::RemoveEventHandler}{wxwindowremoveeventhandler} +\membersection{wxWindow::RemoveEventHandler}\label{wxwindowremoveeventhandler} \func{bool}{RemoveEventHandler}{\param{wxEvtHandler *}{handler}} @@ -2059,7 +2069,7 @@ caption. When pressed, Windows will go into a context-sensitive help mode and wx a wxEVT\_HELP event if the user clicked on an application window. This style cannot be used together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so you should use the style of -{\tt wxDEFAULT\_FRAME\_STYLE & ~(wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the +{\tt wxDEFAULT\_FRAME\_STYLE \& \textasciitilde(wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the frames having this style (the dialogs don't have minimize nor maximize box by default)} \end{twocollist}