Fall back on using tree/list control item text in wxDragImage.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 May 2010 17:07:40 +0000 (17:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 May 2010 17:07:40 +0000 (17:07 +0000)
commit192258889499e769f0359aa6c0b94732adb6b880
tree1bb9709bdcbe9dac21696f39bf736068e678db00
parent7f4f5e8c24607ead9b5e2f4c60658dcd61f028f4
Fall back on using tree/list control item text in wxDragImage.

Use the item text instead of its image if it doesn't have any when creating a
wxDragImage from a wxTreeCtrl or wxListCtrl item instead of just failing.

Closes #4390.

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