From: Robert Roebling Date: Sat, 12 Mar 2005 10:44:25 +0000 (+0000) Subject: Make tree control more GTK-is in the HTML help system. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8fbc991227a7c0b0837875ebb2990b714e02ecd4 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 --- diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index d5e073baf4..0e107c11cc 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -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);