updates for scrolling/sizing methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -521,6 +521,16 @@ The search is recursive in both cases.
|
||||
Sizes the window so that it fits around its subwindows. This function won't do
|
||||
anything if there are no subwindows.
|
||||
|
||||
\membersection{wxWindow::FitInside}\label{wxwindowfitinside}
|
||||
|
||||
\func{virtual void}{FitInside}{\void}
|
||||
|
||||
Similar to \helpref{Fit}{wxwindowfit}, but sizes the interior (virtual) size
|
||||
of a window. Mainly useful with scrolled windows to reset scrollbars after
|
||||
sizing changes that do not trigger a size event, and/or scrolled windows without
|
||||
an interior sizer. This function similarly won't do anything if there are no
|
||||
subwindows.
|
||||
|
||||
\membersection{wxWindow::Freeze}\label{wxwindowfreeze}
|
||||
|
||||
\func{virtual void}{Freeze}{\void}
|
||||
@@ -535,6 +545,16 @@ wxTextCtrl under wxGTK) but is not implemented on all platforms nor for all
|
||||
controls so it is mostly just a hint to wxWindows and not a mandatory
|
||||
directive.
|
||||
|
||||
\membersection{wxWindow::GetAdjustedBestSize}\label{wxwindowgetadjustedbestsize}
|
||||
|
||||
\constfunc{wxSize}{GetAdjustedBestSize}{\void}
|
||||
|
||||
This method is similar to \helpref{GetBestSize}{wxwindowgetbestsize}, except
|
||||
in one thing. GetBestSize should return the minimum untruncated size of the
|
||||
window, while this method will return the largest of BestSize and any user
|
||||
specified minimum size. ie. it is the minimum size the window should currently
|
||||
be drawn at, not the minimal size it can possibly tolerate.
|
||||
|
||||
\membersection{wxWindow::GetBackgroundColour}\label{wxwindowgetbackgroundcolour}
|
||||
|
||||
\constfunc{virtual wxColour}{GetBackgroundColour}{\void}
|
||||
|
Reference in New Issue
Block a user