wxWidgets/samples
Vadim Zeitlin 853f4764c0 Make the initial sash position work in splitter sample.
The initial splitter size must be set correctly when using gravity with
wxSplitterWindow as otherwise the sash would jump on first resize -- which was
exactly what happened in the splitter sample.

Add a SetSize() call to the sample with the comment explaining why is it
needed and also actually make it stick as the cached last size was not updated
before the splitter was split before.

Closes #9821.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-30 19:48:44 +00:00
..
access Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
animate Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
artprov Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
aui Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
calendar Add wxTimePickerCtrl class. 2011-09-29 13:43:15 +00:00
caret Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
clipboard Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
collpane Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
combo Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
config Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
console Output something from the console sample even if it's ran without arguments. 2011-07-09 23:36:38 +00:00
controls Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
dataview Cleanup of wxDataViewCtrl cell activation code. 2011-10-19 16:20:17 +00:00
debugrpt Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
dialogs Added wxRichToolTip class. 2011-10-18 21:57:02 +00:00
dialup Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
display Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
dll Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
dnd Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
docview Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
dragimag Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
drawing Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
erase Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow. 2011-10-11 17:07:43 +00:00
event Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
except Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
exec Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
flash Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
font Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
fswatcher Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
grid Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
help Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
htlbox Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
html Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
image Allow creating wxGraphicsFont without using wxFont. 2011-10-09 22:07:29 +00:00
internat Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
ipc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
joytest Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
keyboard Replace erroneous comma with a semicolon in keyboard sample. 2011-09-21 15:08:06 +00:00
layout Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
listctrl Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
mdi Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
mediaplayer Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
memcheck Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
menu Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
mfc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
minimal Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
nativdlg Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
notebook Derive wxAuiNotebook from wxBookCtrlBase. Document wxAuiNotebookEvent which now derives from wxBookCtrlEvent. Update the notebook sample to add wxAuiNotebook as an option. 2011-10-02 10:29:00 +00:00
oleauto Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
opengl Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
ownerdrw Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
popup Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
power Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
printing Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
propgrid Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
regtest Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
render Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
ribbon Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
richtext Applied patch #13534: wxRichTextCtrl: Make it easier to use TextEffects flags 2011-10-22 13:19:40 +00:00
sashtest Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
scroll revert (presumably unintentional) change from r59562, which caused auto-scroll sample selection to be broken for last 2.5 years 2011-10-23 18:03:20 +00:00
shaped Added wxRichToolTip class. 2011-10-18 21:57:02 +00:00
sockets Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
sound Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
splash Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
splitter Make the initial sash position work in splitter sample. 2011-10-30 19:48:44 +00:00
statbar Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
stc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
svg Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
taborder Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
taskbar Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
text Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
thread add compile support for thread sample on OpenVMS 2011-09-12 10:57:44 +00:00
toolbar Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
treectrl Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
treelist Implement sorting in wxTreeListCtrl. 2011-09-21 15:07:53 +00:00
typetest Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
uiaction Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
validate Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
vscroll Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
webview Work around the fact that wxWebViewIE doesn't send page changing and page changed events during a refresh, yet IsBusy returns true. 2011-10-07 21:25:59 +00:00
widgets Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
wizard Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
wrapsizer Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
xrc Merge in from trunk r68684 - r69046 2011-09-10 15:09:22 +00:00
xti Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
Info.plist Increased the version to 2.9.3. 2011-07-22 16:32:07 +00:00
makefile.bcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.gcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
Makefile.in use hand-written samples/Makefile.in 2003-08-07 13:10:04 +00:00
makefile.vc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.wat Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
sample_os2.ico Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.ico added common (for all samples) .ico/.r/.rc files 2003-08-06 12:27:23 +00:00
sample.r making proper resource-fork apps 2007-05-05 17:22:09 +00:00
sample.rc added wxUSE_NO_MANIFEST=0 for easier testing 2003-08-14 14:08:53 +00:00
sample.rc4 Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.rcO Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
samples.bkl Rename web library to webview. 2011-08-19 10:45:16 +00:00
samples.dsw Add missing samples to samples.dsw. 2010-05-27 17:07:30 +00:00