Fix crash in wxTreeListCtrl::GetItemText() if text was never set.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Nov 2011 23:58:54 +0000 (23:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Nov 2011 23:58:54 +0000 (23:58 +0000)
commit35ee173d0faded507ac7918e9da80c21ec859aef
tree03f22eb1193e96ae2f2ad947a2b4e35657ddcbe2
parent0f31a78f36a3b2d61a1940fe332fe9958b28850e
Fix crash in wxTreeListCtrl::GetItemText() if text was never set.

Asking for the text of an item is not an error even if it was never set for
any column but the first one so just return an empty string in this case
instead of crashing.

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