Documented UpdateSize function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-03-26 11:57:16 +00:00
parent 3ea7a0a8dd
commit a3c4cee78f
2 changed files with 16 additions and 0 deletions

View File

@ -89,6 +89,8 @@ All (GUI):
- wxHtmlWindow now delays image scaling until rendering,
resulting in much better display of scaled images
- Added UpdateSize to wxSplitterWindow to allow layout
while hidden
wxMSW:

View File

@ -419,3 +419,17 @@ which can be overridden for the desired behaviour. By default, the pane being re
\helpref{wxSplitterWindow::SplitHorizontally}{wxsplitterwindowsplithorizontally}, \helpref{wxSplitterWindow::SplitVertically}{wxsplitterwindowsplitvertically},\rtfsp
\helpref{wxSplitterWindow::IsSplit}{wxsplitterwindowissplit}, \helpref{wxSplitterWindow::OnUnsplit}{wxsplitterwindowonunsplit}
\membersection{wxSplitterWindow::UpdateSize}\label{wxsplitterwindowupdatesize}
\func{void}{UpdateSize}{\void}
Causes any pending sizing of the sash and child panes to take place
immediately.
Such resizing normally takes place in idle time, in order
to wait for layout to be completed. However, this can cause
unacceptable flicker as the panes are resized after the window has been
shown. To work around this, you can perform window layout (for
example by sending a size event to the parent window), and then
call this function, before showing the top-level window.