]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/renderg.cpp
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel interna...
[wxWidgets.git] / src / generic / renderg.cpp
index 5ff309e88a0f1592c76f53a6d8f8c3666ce4f698..7c07f55ff12bc04631ae571662d67b25008c1df8 100644 (file)
@@ -678,9 +678,13 @@ wxRendererGeneric::DrawFocusRect(wxWindow* WXUNUSED(win), wxDC& dc, const wxRect
 
     dc.SetPen(m_penBlack);
 
+#ifdef __WXMAC__
+    dc.SetLogicalFunction(wxCOPY);
+#else
     // this seems to be closer than what Windows does than wxINVERT although
     // I'm still not sure if it's correct
     dc.SetLogicalFunction(wxAND_REVERSE);
+#endif
 
     wxCoord z;
     for ( z = x1 + 1; z < x2; z += 2 )