Update line height in generic wxListCtrl to match images height.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Apr 2011 22:57:12 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Apr 2011 22:57:12 +0000 (22:57 +0000)
commit051b7b264fd113b531097e5b762ccf850609e657
tree10b595eb9d3687bad7924bbcf2fc4f26bfd238d2
parentde83bbe34f8900083b3a9ab4024ac9eef65eae8d
Update line height in generic wxListCtrl to match images height.

The height of the items of the generic wxListCtrl remained too small if an
image of a greater than standard size was used.

Fix this by forcing the line height recalculation when adding an item using an
image higher than the current line height.

Closes #12806.

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