From a3c4cee78f9ec0e872ac188e6eb423c6d4d7d618 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 26 Mar 2004 11:57:16 +0000 Subject: [PATCH] Documented UpdateSize function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 2 ++ docs/latex/wx/splitter.tex | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index 7d11040915..781c4b1824 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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: diff --git a/docs/latex/wx/splitter.tex b/docs/latex/wx/splitter.tex index 71f0e82d58..95e93eeb8f 100644 --- a/docs/latex/wx/splitter.tex +++ b/docs/latex/wx/splitter.tex @@ -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. +