]> git.saurik.com Git - wxWidgets.git/commit
Add error checking when retrieving client data from wxMSW wxListBox.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 22:11:44 +0000 (22:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 22:11:44 +0000 (22:11 +0000)
commit6f46510c80f749df76d49f7eb8350d13aa3aecbf
treeee7b08aef8108a979d3109eb9b41763d77fe78fc
parent85a39457f9edb69bf287c6d244966b514ce0bdbc
Add error checking when retrieving client data from wxMSW wxListBox.

Verify if retrieving client data failed which might happen if the index
is invalid for example. This makes code more robust and also consistent with
wxChoice.

Closes #13883.

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