X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d78998725b53eea209c0fa845b5a25fe5b512d2..479647105b2ad7d4016b04aefcf2021daed922a1:/src/generic/renderg.cpp?ds=sidebyside diff --git a/src/generic/renderg.cpp b/src/generic/renderg.cpp index 5ff309e88a..7c07f55ff1 100644 --- a/src/generic/renderg.cpp +++ b/src/generic/renderg.cpp @@ -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 )