wxWidgets/tests
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
..
any Added typeinfo.h which implements wxTypeId, using C++ RTTI if available. wxAny and Unbind<>() code are updated to use it. Added and updated related unit tests. 2009-11-19 19:27:24 +00:00
archive Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
arrays Provide implementation for wxArrayString::resize(). 2009-09-16 23:18:48 +00:00
base64 Never overflow the output buffer in wxBase64Decode(). 2009-08-23 22:25:12 +00:00
benchmarks Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
cmdline Fix bug with parsing concatenated switches in wxCmdLineParser. 2009-09-07 23:00:05 +00:00
config Don't crash when input is empty in wxFileConfig(wxInputStream) ctor. 2010-01-23 13:22:14 +00:00
controls Ensure that setting wxChoice height to its default value does set it. 2010-03-18 15:07:39 +00:00
datetime Compilation fix for VC6 after r63061. 2010-01-04 12:22:34 +00:00
events Merge SOC2009_FSWATCHER branch into trunk. 2009-10-22 11:35:43 +00:00
exec suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible 2009-04-13 17:33:33 +00:00
file Fix test compilation under OS X. 2009-09-13 12:26:03 +00:00
filekind Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
filename Add support for MSW unique volume names to wxFileName. 2009-12-05 17:31:00 +00:00
filesys Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
font add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions 2009-06-02 13:01:41 +00:00
fontmap Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
formatconverter Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
fswatcher Use an even more informative error message in wxFSW unit test. 2009-10-23 11:44:57 +00:00
geometry
graphics Fix test for compilers not supporting \u escapes in strings (such as VC6). 2010-03-14 14:47:11 +00:00
hashes Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
html added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly 2008-10-15 15:55:25 +00:00
image Correct wxImage::Size() again; add unit tests for it. 2009-08-30 21:43:11 +00:00
intl fix test failure on glibc systems which do not use %T; also replace CompareTimeFormats() with a macro to get failure messages on the right line 2009-04-04 12:09:54 +00:00
lists Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
log Include wx/filefn.h to fix PCH-less compilation. 2009-08-18 11:44:31 +00:00
longlong Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
mbconv Fix wxConvAuto behaviour when it is used by wxTextInputStream. 2010-01-04 12:22:49 +00:00
misc Make the assert in SettingsTestCase::GlobalFonts() more informative. 2009-11-24 00:01:51 +00:00
net disable IPC test completely as it prevents the test program from running to completion when it hangs (for still unknown reason) 2009-03-11 13:15:45 +00:00
regex Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
scopeguard
sizers Fix box sizer layout algorithm to respect both proportions and min sizes. 2010-03-18 15:07:24 +00:00
streams Fix bug in wxStringOutputStream unit test. 2010-01-24 11:33:24 +00:00
strings No real changes, just fix a typo in comments and documentation. 2010-01-14 18:02:26 +00:00
textfile Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
thread
toplevel Initial ShowWithoutActivating implementations for Mac and Windows, and attempt to improve IsActive behavior on Mac. Also adding ShowWithoutActivating() and Show/Hide tests, but until the mainloop issues are resolved, not adding them to tests.bkl. 2009-10-30 05:04:47 +00:00
uris Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
vectors Added wxVector::swap(). 2009-07-12 17:00:29 +00:00
weakref
window
xlocale use "ul" suffix instead of cast to unsigned long; this is not only shorter but also avoids gcc warning about working correctly only in C90 2009-04-17 13:06:27 +00:00
xml Don't append text following CDATA section to its node itself. 2009-08-24 21:42:27 +00:00
dummy.cpp
horse.ani add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.bmp add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.cur add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.gif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.ico add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.jpg add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pcx add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.png add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pnm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tga add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.xpm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
makefile.bcc Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
makefile.gcc Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
Makefile.in Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
makefile.vc Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
makefile.wat Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
runtests.bat adds proper detection of tests success/failure; clear that "error level" != "return code" 2009-03-23 14:57:10 +00:00
test_printfbench.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
test_test_gui.dsp Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
test_test.dsp Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
test_vc7_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc7_test_gui.vcproj Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
test_vc7_test.vcproj Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
test_vc8_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc8_test_gui.vcproj Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
test_vc8_test.vcproj Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
test_vc9_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc9_test_gui.vcproj Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
test_vc9_test.vcproj Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
test.bkl Add (a very simple for now) wxBoxSizer unit test. 2010-03-18 15:07:10 +00:00
test.cpp Abort on asserts in worker threads. 2009-09-21 14:45:37 +00:00
testdata.fc
testfile.h Extract operator<<(ostream, wxFileName) from filename test. 2009-10-22 11:34:43 +00:00
testprec.h disable MSVC 8+ warning about using Unicode characters as we do want to use them 2009-06-06 23:24:57 +00:00