Make tree control more GTK-is in the HTML help system.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2005-03-12 10:44:25 +00:00
parent e53a95bcb1
commit 8fbc991227

View 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);