Applied patch [ 650078 ] Add better checking to wxComboBox
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 10:26:21 +0000 (10:26 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 10:26:21 +0000 (10:26 +0000)
commit48aa18c000b0133853d5bb2fa9a23b196d7ce6cd
treee3802ac896f2e3343b51aa5f1dcc1a459de59b6a
parent635eb8bcc44d0bec40bcfa7e5cc8c6be1a0c7b96
Applied patch [ 650078 ] Add better checking to wxComboBox

This patch adds extra checks, checks to see and report
if the provided item index is valid.

An other thing:
- IMHO wxComboBox::GetSelection() was wrong, I
corrected this (now it behaves the same as wxMSW,
don't know about wxGTK and others...).

Hans Van Leemputten (hansvl)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/univ/combobox.cpp