From 569bb120c470125e8c1229d6f9c1029c252524b5 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 10 Sep 2008 20:26:27 +0000 Subject: [PATCH] conditionals for carbon only osx code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 028a0fddd4..9d6d3c50e8 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1414,7 +1414,7 @@ bool wxListLineData::SetAttributes(wxDC *dc, #ifdef __WXMAC__ { if (m_owner->HasFocus() -#if !defined(__WXUNIVERSAL__) +#if !defined(__WXUNIVERSAL__) && wxOSX_USE_CARBON && IsControlActive( (ControlRef)m_owner->GetHandle() ) #endif ) @@ -1478,7 +1478,7 @@ void wxListLineData::Draw( wxDC *dc ) { int flags = wxCONTROL_SELECTED; if (m_owner->HasFocus() -#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__) +#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__) && wxOSX_USE_CARBON && IsControlActive( (ControlRef)m_owner->GetHandle() ) #endif ) -- 2.50.0