Don't use wxRendererNative::DrawFocusRect() under Mac.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Jul 2010 14:52:28 +0000 (14:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Jul 2010 14:52:28 +0000 (14:52 +0000)
commit705c4d13d9fe789db114bd8116186a268b819b62
tree002bc0572ea547545eaf81da5ef4f5f6ce06fe19
parentc2eb89388ebce68074881c55dc37f3caa0305f47
Don't use wxRendererNative::DrawFocusRect() under Mac.

This function doesn't do the right thing there, it draws the focus border as
it's drawn around controls such as buttons. This border overflows the item
rectangle and results in garbage remaining on screen when selection changes.

See #12229.

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