wxSizer::Fit() now sets client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -222,13 +222,11 @@ Returns true if the child item was found and detached, false otherwise.
|
||||
|
||||
\func{wxSize}{Fit}{\param{wxWindow* }{window}}
|
||||
|
||||
Tell the sizer to resize the \arg{window} to match the sizer's minimal size. This
|
||||
is commonly done in the constructor of the window itself, see sample in the description
|
||||
Tell the sizer to resize the \arg{window} so that its client area matchesthe
|
||||
sizer's minimal size. This is commonly done in the constructor of the window
|
||||
itself, see sample in the description
|
||||
of \helpref{wxBoxSizer}{wxboxsizer}. Returns the new size.
|
||||
|
||||
For a top level window this is the total window size, not client size.
|
||||
|
||||
|
||||
\membersection{wxSizer::FitInside}\label{wxsizerfitinside}
|
||||
|
||||
\func{void}{FitInside}{\param{wxWindow* }{window}}
|
||||
|
Reference in New Issue
Block a user