Fix item selection/focus drawing in generic wxListCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Jul 2010 10:43:43 +0000 (10:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Jul 2010 10:43:43 +0000 (10:43 +0000)
commitd67fc8b73514909eb198223333e11be4d900f431
tree12f25a10465d5c4fe1e9fe6ab714e9b1188177dd
parentc70ad28733bce16ad4a0c8a7515a2ddda88a86ef
Fix item selection/focus drawing in generic wxListCtrl.

Item focus rectangle was not drawn at all under wxGTK as the code doing it was
disabled with a comment saying that it was drawn elsewhere -- but this wasn't
the case.

So remove #ifdefs for wxGTK/Mac from generic wxListCtrl code and do use
wxRendererNative methods for all platforms. This fixes the appearance of the
control under GTK and if it introduces any problems under Mac, they should be
fixed in its wxRendererNative implementation and not by adding #ifdefs here.

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