]> git.saurik.com Git - wxWidgets.git/commitdiff
Make tree control more GTK-is in the HTML help system.
authorRobert Roebling <robert@roebling.de>
Sat, 12 Mar 2005 10:44:25 +0000 (10:44 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 12 Mar 2005 10:44:25 +0000 (10:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

index d5e073baf47cb548a9b94ca589e9d8a9a2a5e5ce..0e107c11cc19844ef6a1da4389d6d4e79478185a 100644 (file)
@@ -440,9 +440,16 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
 
         m_ContentsBox = new wxTreeCtrl(dummy, wxID_HTML_TREECTRL,
                                        wxDefaultPosition, wxDefaultSize,
+#ifdef __WXGTK20__
                                        wxSUNKEN_BORDER |
                                        wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT |
-                                       wxTR_LINES_AT_ROOT);
+                                       wxTR_NO_LINES
+#else
+                                       wxSUNKEN_BORDER |
+                                       wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT |
+                                       wxTR_LINES_AT_ROOT
+#endif
+                                       );
 
         m_ContentsBox->AssignImageList(ContentsImageList);