]> git.saurik.com Git - wxWidgets.git/commit
Verify the return value of wxItemContainer::Insert() in the tests.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Nov 2010 11:34:47 +0000 (11:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Nov 2010 11:34:47 +0000 (11:34 +0000)
commita6c4ae18baa44623303624c19adab8cb7bbb8b25
treeac245b1341925812d094dcfa1f9a3d59c3666eb9
parent7612febb93cca7fd8f89137906b7ed9eae381f6c
Verify the return value of wxItemContainer::Insert() in the tests.

Check that Insert() returns the index of the last inserted item.

Also document this behaviour for mulit-item renames explicitly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/ctrlsub.h
tests/controls/itemcontainertest.cpp