Document wxItemContainer::SetStringSelection() as case-insensitive.

Add unit tests checking that the behaviour really corresponds to the
documentation too.

And also mention that it's not a good idea to have strings differing by case
only in wxComboBox anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-12-25 13:19:00 +00:00
parent 1db02a5e5c
commit 3256418982
3 changed files with 21 additions and 8 deletions

View File

@@ -23,7 +23,10 @@
Please refer to wxTextEntry documentation for the description of methods
operating with the text entry part of the combobox and to wxItemContainer
for the methods operating with the list of strings.
for the methods operating with the list of strings. Notice that at least
under MSW wxComboBox doesn't behave correctly if it contains strings
differing in case only so portable programs should avoid adding such
strings to this control.
@beginStyleTable
@style{wxCB_SIMPLE}