note that SetAutoLayout() doesn't work for all windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2455,16 +2455,21 @@ See also \helpref{wxAccessible}{wxaccessible}.
|
|||||||
\func{void}{SetAutoLayout}{\param{bool}{ autoLayout}}
|
\func{void}{SetAutoLayout}{\param{bool}{ autoLayout}}
|
||||||
|
|
||||||
Determines whether the \helpref{wxWindow::Layout}{wxwindowlayout} function will
|
Determines whether the \helpref{wxWindow::Layout}{wxwindowlayout} function will
|
||||||
be called automatically when the window is resized. It is called implicitly by
|
be called automatically when the window is resized. Please note that this only
|
||||||
\helpref{wxWindow::SetSizer}{wxwindowsetsizer} but if you use
|
happens for the windows usually used to contain children, namely
|
||||||
|
\helpref{wxPanel}{wxpanel} and \helpref{wxTopLevelWindow}{wxtoplevelwindow}
|
||||||
|
(and the classes deriving from them).
|
||||||
|
|
||||||
|
This method is called implicitly by
|
||||||
|
\helpref{wxWindow::SetSizer}{wxwindowsetsizer} but if you use
|
||||||
\helpref{wxWindow::SetConstraints}{wxwindowsetconstraints} you should call it
|
\helpref{wxWindow::SetConstraints}{wxwindowsetconstraints} you should call it
|
||||||
manually or otherwise the window layout won't be correctly updated when its
|
manually or otherwise the window layout won't be correctly updated when its
|
||||||
size changes.
|
size changes.
|
||||||
|
|
||||||
\wxheading{Parameters}
|
\wxheading{Parameters}
|
||||||
|
|
||||||
\docparam{autoLayout}{Set this to {\tt true} if you wish the Layout function to be called
|
\docparam{autoLayout}{Set this to \true if you wish the Layout function to be
|
||||||
from within wxWindow::OnSize functions.}
|
called automatically when the window is resized.}
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user