#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#if wxUSE_TREECTRL
+
#include "wx/generic/treectlg.h"
#include "wx/imaglist.h"
#include "wx/settings.h"
int start_x = 0;
int start_y = 0;
- ViewStart( &start_x, &start_y );
+ GetViewStart( &start_x, &start_y );
start_y *= PIXELS_PER_UNIT;
int client_h = 0;
{
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
Refresh( TRUE, &rect );
}
+#endif // wxUSE_TREECTRL