X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5da0803c1534db8a410cdff616921175a8ddda77..9e70eb3b1d349c67224c14e6cc5b2cb5ebd26173:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 1cb3132425..6181f83df1 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -53,6 +53,11 @@ This style is currently only implemented for wxMSW and wxUniversal and does nothing on the other platforms.} \twocolitem{\windowstyle{wxCLIP\_CHILDREN}}{Use this style to eliminate flicker caused by the background being repainted, then children being painted over them. Windows only.} +\twocolitem{\windowstyle{wxFULL\_REPAINT\_ON\_RESIZE}}{Use this style to force +a complete redraw of the window whenever it is resized instead of redrawing +just the part of the window affected by resizing. Note that this was the +behaviour by default before 2.5.1 release and that if you experience redraw +problems with the code which previously used to work you may want to try this.} \end{twocollist} See also \helpref{window styles overview}{windowstyles}. @@ -142,6 +147,9 @@ can delete a window only when it is safe to do so, in idle time. Adds a child window. This is called automatically by window creation functions so should not be required by the application programmer. +Notice that this function is mostly internal to wxWindows and shouldn't be +called by the user code. + \wxheading{Parameters} \docparam{child}{Child window to add.} @@ -423,7 +431,7 @@ Destroys all children of a window. Called automatically by the destructor. \membersection{wxWindow::Disable}\label{wxwindowdisable} -\func{void}{Disable}{\void} +\func{bool}{Disable}{\void} Disables the window, same as \helpref{Enable({\tt false})}{wxwindowenable}. @@ -1932,6 +1940,9 @@ Releases mouse input captured with \helpref{wxWindow::CaptureMouse}{wxwindowcapt Removes a child window. This is called automatically by window deletion functions so should not be required by the application programmer. +Notice that this function is mostly internal to wxWindows and shouldn't be +called by the user code. + \wxheading{Parameters} \docparam{child}{Child window to remove.} @@ -2112,11 +2123,11 @@ The background colour is usually painted by the default\rtfsp under Windows and automatically under GTK. Note that setting the background colour does not cause an immediate refresh, so you -may wish to call \helpref{wxWindow::Clear}{wxwindowclear} or \helpref{wxWindow::Refresh}{wxwindowrefresh} after +may wish to call \helpref{wxWindow::ClearBackground}{wxwindowclearbackground} or \helpref{wxWindow::Refresh}{wxwindowrefresh} after calling this function. -Use this function with care under GTK as the new appearance of the window might -not look equally well when used with "Themes", i.e GTK's ability to change its +Use this function with care under GTK+ as the new appearance of the window might +not look equally well when used with "Themes", i.e GTK+'s ability to change its look as the user wishes with run-time loadable modules. \wxheading{See also} @@ -2124,7 +2135,7 @@ look as the user wishes with run-time loadable modules. \helpref{wxWindow::GetBackgroundColour}{wxwindowgetbackgroundcolour},\rtfsp \helpref{wxWindow::SetForegroundColour}{wxwindowsetforegroundcolour},\rtfsp \helpref{wxWindow::GetForegroundColour}{wxwindowgetforegroundcolour},\rtfsp -\helpref{wxWindow::Clear}{wxwindowclear},\rtfsp +\helpref{wxWindow::ClearBackground}{wxwindowclearbackground},\rtfsp \helpref{wxWindow::Refresh}{wxwindowrefresh},\rtfsp \helpref{wxEraseEvent}{wxeraseevent}