X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35a7f94b940c450206190b7ca2fe4135f006c46c..9604c99ddf511a151e3b27b8b85a08d66c52ba7c:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index b316c39ea9..7e1830b570 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1541,11 +1541,7 @@ void wxListLineData::DrawInReportMode( wxDC *dc, if (highlighted) { int flags = wxCONTROL_SELECTED; - if (m_owner->HasFocus() -#ifdef __WXMAC__ - && IsControlActive( (ControlRef)m_owner->GetHandle() ) -#endif - ) + if (m_owner->HasFocus()) flags |= wxCONTROL_FOCUSED; wxRendererNative::Get().DrawItemSelectionRect( m_owner, *dc, rectHL, flags ); }