From c7f73af494dcebd162d5130a90738288719fa590 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 27 Nov 2004 23:19:49 +0000 Subject: [PATCH] Make wxTR_NO_LINES default under GTK2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/treebase.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/treebase.h b/include/wx/treebase.h index fab586e27a..15944f0476 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -158,7 +158,11 @@ enum wxTreeItemIcon #define wxTR_FULL_ROW_HIGHLIGHT 0x2000 // highlight full horz space +#ifdef __WXGTK20__ +#define wxTR_DEFAULT_STYLE (wxTR_HAS_BUTTONS | wxTR_NO_LINES) +#else #define wxTR_DEFAULT_STYLE (wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT) +#endif // deprecated, don't use #define wxTR_MAC_BUTTONS 0