wxWidgets/samples
Vadim Zeitlin 917f228a1f Reset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty.
The selection was 0 in a notebook without any pages which was wrong as it must
always be less than the page count.

Fix this in wxAuiNotebook itself and add an assert checking for this invariant
to the sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-06 13:30:01 +00:00
..
access Rebake. 2010-01-09 19:56:18 +00:00
animate Rebake. 2010-01-09 19:56:18 +00:00
artprov Rebake. 2010-01-09 19:56:18 +00:00
aui Reset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty. 2010-03-06 13:30:01 +00:00
calendar Rebake. 2010-01-09 19:56:18 +00:00
caret Rebake. 2010-01-09 19:56:18 +00:00
clipboard Rebake. 2010-01-09 19:56:18 +00:00
collpane Rebake. 2010-01-09 19:56:18 +00:00
combo Rebake. 2010-01-09 19:56:18 +00:00
config Rebake. 2010-01-09 19:56:18 +00:00
console Rebake. 2010-01-09 19:56:18 +00:00
controls Rebake. 2010-01-09 19:56:18 +00:00
dataview Rebake. 2010-01-09 19:56:18 +00:00
debugrpt Rebake. 2010-01-09 19:56:18 +00:00
dialogs adding window-modal message box sample 2010-01-28 09:54:51 +00:00
dialup Rebake. 2010-01-09 19:56:18 +00:00
display Rebake. 2010-01-09 19:56:18 +00:00
dll Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
dnd Rebake. 2010-01-09 19:56:18 +00:00
docview Rebake. 2010-01-09 19:56:18 +00:00
dragimag Rebake. 2010-01-09 19:56:18 +00:00
drawing Rebake. 2010-01-09 19:56:18 +00:00
erase Rebake. 2010-01-09 19:56:18 +00:00
event Rebake. 2010-01-09 19:56:18 +00:00
except Rebake. 2010-01-09 19:56:18 +00:00
exec Rebake. 2010-01-09 19:56:18 +00:00
flash Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
font Show the more metrics for the selected font in the sample. 2010-01-18 00:28:35 +00:00
fswatcher Rebake. 2010-01-09 19:56:18 +00:00
grid Rebake. 2010-01-09 19:56:18 +00:00
help Rebake. 2010-01-09 19:56:18 +00:00
htlbox Rebake. 2010-01-09 19:56:18 +00:00
html Rebake. 2010-01-09 19:56:18 +00:00
image Rebake. 2010-01-09 19:56:18 +00:00
internat Rebake. 2010-01-09 19:56:18 +00:00
ipc Rebake. 2010-01-09 19:56:18 +00:00
joytest Rebake. 2010-01-09 19:56:18 +00:00
keyboard Rebake. 2010-01-09 19:56:18 +00:00
layout Rebake. 2010-01-09 19:56:18 +00:00
listctrl Fix toggling the header in the generic wxListCtrl. 2010-03-06 00:31:00 +00:00
mdi Rebake. 2010-01-09 19:56:18 +00:00
mediaplayer Rebake. 2010-01-09 19:56:18 +00:00
memcheck Rebake. 2010-01-09 19:56:18 +00:00
menu Rebake. 2010-01-09 19:56:18 +00:00
mfc Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
minimal Rebake. 2010-01-09 19:56:18 +00:00
nativdlg Rebake. 2010-01-09 19:56:18 +00:00
notebook Avoid conflict between accelerators in the notebook sample. 2010-03-05 23:55:14 +00:00
oleauto Rebake. 2010-01-09 19:56:18 +00:00
opengl Rebake. 2010-01-09 19:56:18 +00:00
ownerdrw Use theme functions for drawing owner-drawn menus. 2010-01-23 13:21:36 +00:00
popup Rebake. 2010-01-09 19:56:18 +00:00
power Rebake. 2010-01-09 19:56:18 +00:00
printing Rebake. 2010-01-09 19:56:18 +00:00
propgrid Have to check for wxPG_SPLITTER_AUTO_CENTER style before setting propgrid column proportion in the sample 2010-03-01 15:26:07 +00:00
regtest Rebake. 2010-01-09 19:56:18 +00:00
render Rebake. 2010-01-09 19:56:18 +00:00
ribbon Rebake. 2010-01-09 19:56:18 +00:00
richtext Rebake. 2010-01-09 19:56:18 +00:00
sashtest Rebake. 2010-01-09 19:56:18 +00:00
scroll Rebake. 2010-01-09 19:56:18 +00:00
shaped Rebake. 2010-01-09 19:56:18 +00:00
sockets Rebake. 2010-01-09 19:56:18 +00:00
sound Rebake. 2010-01-09 19:56:18 +00:00
splash Rebake. 2010-01-09 19:56:18 +00:00
splitter Rebake. 2010-01-09 19:56:18 +00:00
statbar Rebake. 2010-01-09 19:56:18 +00:00
stc Rebake. 2010-01-09 19:56:18 +00:00
svg Rebake. 2010-01-09 19:56:18 +00:00
taborder Rebake. 2010-01-09 19:56:18 +00:00
taskbar Rebake. 2010-01-09 19:56:18 +00:00
text Rebake. 2010-01-09 19:56:18 +00:00
thread Rebake. 2010-01-09 19:56:18 +00:00
toolbar Rebake. 2010-01-09 19:56:18 +00:00
treectrl Add wxTreeCtrl::SelectChildren() method. 2010-01-26 12:43:39 +00:00
typetest Rebake. 2010-01-09 19:56:18 +00:00
validate Rebake. 2010-01-09 19:56:18 +00:00
vscroll Rebake. 2010-01-09 19:56:18 +00:00
widgets Add support for showing "elevation" icon in wxMSW buttons. 2010-02-08 19:52:00 +00:00
wizard Rebake. 2010-01-09 19:56:18 +00:00
wrapsizer Rebake. 2010-01-09 19:56:18 +00:00
xrc Add support for stretchable spacers to XRC wxToolBar handler. 2010-01-18 00:29:00 +00:00
Info.plist removed minimal-specific Info.plist; updated the version in the generic one 2007-03-18 11:54:18 +00:00
makefile.bcc Added samples/dll for showing how to use wxWidgets to implement 2009-12-05 18:54:40 +00:00
makefile.gcc Added samples/dll for showing how to use wxWidgets to implement 2009-12-05 18:54:40 +00:00
Makefile.in use hand-written samples/Makefile.in 2003-08-07 13:10:04 +00:00
makefile.vc Added samples/dll for showing how to use wxWidgets to implement 2009-12-05 18:54:40 +00:00
makefile.wat Added samples/dll for showing how to use wxWidgets to implement 2009-12-05 18:54:40 +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.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 Added samples/dll for showing how to use wxWidgets to implement 2009-12-05 18:54:40 +00:00
samples.dsw Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00