Make wxTR_NO_LINES default under GTK2
authorRobert Roebling <robert@roebling.de>
Sat, 27 Nov 2004 23:19:49 +0000 (23:19 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 27 Nov 2004 23:19:49 +0000 (23:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/treebase.h

index fab586e27a4df9473ef58e24ddb1d0a03e19acf8..15944f047629becff3d709efb45bc3ad9dedab58 100644 (file)
@@ -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