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,