X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..552861bf308cf2fd12f786a5443d379b55f63d81:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 767281bb2b..1c7e69c99a 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -784,8 +784,9 @@ Returns the parent of the window, or NULL if there is no parent. \constfunc{wxPoint}{GetPosition}{\void} -This gets the position of the window in pixels, relative to the parent window or -if no parent, relative to the whole display. +This gets the position of the window in pixels, relative to the parent window +for the child windows or relative to the display origin for the top level +windows. \wxheading{Parameters} @@ -1913,10 +1914,11 @@ Sets the accelerator table for this window. See \helpref{wxAcceleratorTable}{wxa \func{void}{SetAutoLayout}{\param{bool}{ autoLayout}} Determines whether the \helpref{wxWindow::Layout}{wxwindowlayout} function will -be called automatically when the window is resized. Use in connection with -\helpref{wxWindow::SetSizer}{wxwindowsetsizer} and -\helpref{wxWindow::SetConstraints}{wxwindowsetconstraints} for laying out -subwindows. +be called automatically when the window is resized. It is called implicitly by +\helpref{wxWindow::SetSizer}{wxwindowsetsizer} but if you use +\helpref{wxWindow::SetConstraints}{wxwindowsetconstraints} you should call it +manually or otherwise the window layout won't be correctly updated when its +size changes. \wxheading{Parameters} @@ -2480,6 +2482,10 @@ will then own the object, and will take care of its deletion. If an existing layout constraints object is already owned by the window, it will be deleted if the deleteOld parameter is TRUE. +Note that this function will also call +\helpref{SetAutoLayout}{wxwindowsetautolayout} implicitly with {\tt TRUE} +parameter if the {\it sizer}\/ is non-NULL and {\tt FALSE} otherwise. + \wxheading{Parameters} \docparam{sizer}{The sizer to set. Pass NULL to disassociate and conditionally delete