X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..84c5b38d579e140df28cfbb649587e8862148c89:/src/generic/treectlg.cpp diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 113dbba584..7a21820a80 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -1910,8 +1910,13 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level { colText = wxSystemSettings::GetSystemColour( wxSYS_COLOUR_HIGHLIGHTTEXT ); +#ifdef __WXMAC__ + // no rect outline, we already have the background color + pen = wxTRANSPARENT_PEN; +#else if ( m_hasFocus ) pen = wxBLACK_PEN; +#endif } else