]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
Fix for assert in 'dynarray.cpp' by Jaakko Salli.
[wxWidgets.git] / src / generic / treectlg.cpp
index e4d81b2b4cfa413a64bf11ddc473853dce865de7..38b83bdd2d32f66120645f19b57c56b3cd33f665 100644 (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,