Mac-ify wxTreeCtrl further.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-07-14 14:27:25 +00:00
parent 53e46b61bb
commit ef70f0ecdb

View File

@@ -1910,8 +1910,13 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
{ {
colText = wxSystemSettings::GetSystemColour( wxSYS_COLOUR_HIGHLIGHTTEXT ); colText = wxSystemSettings::GetSystemColour( wxSYS_COLOUR_HIGHLIGHTTEXT );
#ifdef __WXMAC__
// no rect outline, we already have the background color
pen = wxTRANSPARENT_PEN;
#else
if ( m_hasFocus ) if ( m_hasFocus )
pen = wxBLACK_PEN; pen = wxBLACK_PEN;
#endif
} }
else else