Mac fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4b859ff461
commit
e2125bdc32
@ -678,9 +678,13 @@ wxRendererGeneric::DrawFocusRect(wxWindow* WXUNUSED(win), wxDC& dc, const wxRect
|
|||||||
|
|
||||||
dc.SetPen(m_penBlack);
|
dc.SetPen(m_penBlack);
|
||||||
|
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
dc.SetLogicalFunction(wxCOPY);
|
||||||
|
#else
|
||||||
// this seems to be closer than what Windows does than wxINVERT although
|
// this seems to be closer than what Windows does than wxINVERT although
|
||||||
// I'm still not sure if it's correct
|
// I'm still not sure if it's correct
|
||||||
dc.SetLogicalFunction(wxAND_REVERSE);
|
dc.SetLogicalFunction(wxAND_REVERSE);
|
||||||
|
#endif
|
||||||
|
|
||||||
wxCoord z;
|
wxCoord z;
|
||||||
for ( z = x1 + 1; z < x2; z += 2 )
|
for ( z = x1 + 1; z < x2; z += 2 )
|
||||||
|
Loading…
Reference in New Issue
Block a user