From 80fdb7b34d5106f4a26d589b519e22c4369eadfd Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 14 Oct 2006 13:24:26 +0000 Subject: [PATCH] Remove tree control lines unconditionally under GTK2 (similar to what wxMac does) as it simply looks wrong (as we are using GTK+ tree buttons). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/treectlg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index e4d81b2b4c..38b83bdd2d 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -820,6 +820,9 @@ bool wxGenericTreeCtrl::Create(wxWindow *parent, if (major < 10) style |= wxTR_ROW_LINES; #endif // __WXMAC__ +#ifdef __WXGTK20__ + style |= wxTR_NO_LINES; +#endif if ( !wxControl::Create( parent, id, pos, size, style|wxHSCROLL|wxVSCROLL, -- 2.45.2