X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cae618d1d3745c7ec5306d475120c0fefb8861e9..601398b9b1e63109f44af34ff79bc558fe929b4d:/src/generic/renderg.cpp diff --git a/src/generic/renderg.cpp b/src/generic/renderg.cpp index 68c9b3d538..b5080a4d22 100644 --- a/src/generic/renderg.cpp +++ b/src/generic/renderg.cpp @@ -666,7 +666,7 @@ wxRendererGeneric::DrawItemSelectionRect(wxWindow * WXUNUSED(win), dc.SetBrush(brush); if ((flags & wxCONTROL_CURRENT) && (flags & wxCONTROL_FOCUSED) -#ifdef __WXMAC__ +#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__) && IsControlActive( (ControlRef)win->GetHandle() ) #endif )