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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user