]> git.saurik.com Git - wxWidgets.git/commit
Avoid asserts due to not overriding OnGetItemText() in VirtListCtrlTestCase.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Nov 2010 22:38:26 +0000 (22:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Nov 2010 22:38:26 +0000 (22:38 +0000)
commit80e13ad372653fd58e1b01db9479c65e8095d1a3
tree6a8b46d04e40132b6807b026ed3dcfbe315dfb25
parenta7dc53953b7329d6e8b4a6b003f878aab0bdd1cd
Avoid asserts due to not overriding OnGetItemText() in VirtListCtrlTestCase.

A virtual list control must override wxListCtrl::OnGetItemText() method and
wxMSW native implementation asserts if this is not the case (the generic one
should arguably do it as well).

Avoid the asserts by providing a dummy implementation of OnGetItemText() in
the unit test.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/controls/virtlistctrltest.cpp