No lines in tree controls on Mac or GTK.

This commit is contained in:
Jeff Young 2021-03-13 11:43:07 +00:00
parent b71ab01de4
commit 52ea9bb75f
1 changed files with 7 additions and 1 deletions

View File

@ -34,9 +34,15 @@
IMPLEMENT_ABSTRACT_CLASS( PROJECT_TREE, wxTreeCtrl )
#ifdef __WXMSW__
#define PLATFORM_STYLE wxTR_LINES_AT_ROOT
#else
#define PLATFORM_STYLE wxTR_NO_LINES
#endif
PROJECT_TREE::PROJECT_TREE( PROJECT_TREE_PANE* parent ) :
wxTreeCtrl( parent, ID_PROJECT_TREE, wxDefaultPosition, wxDefaultSize,
wxTR_HAS_BUTTONS | wxTR_MULTIPLE, wxDefaultValidator,
PLATFORM_STYLE | wxTR_HAS_BUTTONS | wxTR_MULTIPLE, wxDefaultValidator,
wxT( "EDATreeCtrl" ) )
{
m_projectTreePane = parent;