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:
@@ -440,9 +440,16 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
|
|||||||
|
|
||||||
m_ContentsBox = new wxTreeCtrl(dummy, wxID_HTML_TREECTRL,
|
m_ContentsBox = new wxTreeCtrl(dummy, wxID_HTML_TREECTRL,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
|
#ifdef __WXGTK20__
|
||||||
wxSUNKEN_BORDER |
|
wxSUNKEN_BORDER |
|
||||||
wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT |
|
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);
|
m_ContentsBox->AssignImageList(ContentsImageList);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user