]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/renderg.cpp
more fixes to handling of the resolution chosen in GTK print dialog (patch 1864504)
[wxWidgets.git] / src / generic / renderg.cpp
index 68c9b3d538fb06eddb587bbd3b019df09cc28a6d..b5080a4d22bc8489ab5a31690d9c1a1f18bd194a 100644 (file)
@@ -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
     )