]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
merged MapBitmap() from 2.2 branch
[wxWidgets.git] / src / generic / treectlg.cpp
index 113dbba5849aa0075eb86ebb93fd60c769ca3b1c..7a21820a808d0bed1771f73ddfb2b3a3ff25f8c7 100644 (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 )
                pen = wxBLACK_PEN;
             if ( m_hasFocus )
                pen = wxBLACK_PEN;
+#endif
 
         }
         else
 
         }
         else