]> git.saurik.com Git - wxWidgets.git/commitdiff
Documented UpdateSize function
authorJulian Smart <julian@anthemion.co.uk>
Fri, 26 Mar 2004 11:57:16 +0000 (11:57 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 26 Mar 2004 11:57:16 +0000 (11:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
docs/latex/wx/splitter.tex

index 7d1104091575c528d73062083eaf22eb7d75dbf5..781c4b1824351dbc41dc8e975027728568fd3670 100644 (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:
 
index 71f0e82d58df237e48b155549478307141258033..95e93eeb8fdb20a008951fb580f9923daf1840c4 100644 (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.
+