wxWidgets/samples
Vadim Zeitlin 0772a89875 Ensure that setting wxChoice height to its default value does set it.
Setting wxChoice height to its default value didn't change the height even if
the current height was different from the default. This resulted in problems
when a wxChoice was used inside a wxAuiToolBar because AUI temporarily reduces
the toolbar size to (1, 1) when docking it (thus ensuring that the height of
wxChoice is changed too) and generally didn't make sense.

Fix this by resetting the height to the default value if the value passed to
wxChoice::SetSize() is what it considers to be its default height.

Add a unit test for this bug and also add a wxChoice to AUI sample to allow
testing for wxChoice behaviour inside a wxAuiToolBar being [un]docked.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-18 15:07:39 +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 Ensure that setting wxChoice height to its default value does set it. 2010-03-18 15:07:39 +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 Add a "not specified" icon style to the message box test dialog. 2010-03-14 14:15:42 +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
uiaction Use event tables instead of Bind() in uiaction sample. 2010-03-13 21:58:04 +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
makefile.bcc Rebake after wxUIActionSimulator addition. 2010-03-06 20:15:39 +00:00
makefile.gcc Rebake after wxUIActionSimulator addition. 2010-03-06 20:15:39 +00:00
Makefile.in
makefile.vc Rebake after wxUIActionSimulator addition. 2010-03-06 20:15:39 +00:00
makefile.wat Rebake after wxUIActionSimulator addition. 2010-03-06 20:15:39 +00:00
sample.ico
sample.r
sample.rc
sample.xpm
samples.bkl Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard. 2010-03-06 20:09:23 +00:00
samples.dsw Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00