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
This commit is contained in:
Robert Roebling
2006-10-14 13:24:26 +00:00
parent 39b5648ed2
commit 80fdb7b34d

View File

@@ -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,