X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/576507e276a32bccda610ce0e45451e6a46e4d31..4114d0af4f09cca11a19121b0c4fcf4e9a2ad72c:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 504dd005bd..3bdfcd58d7 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -754,7 +754,7 @@ void wxHtmlHelpFrame::CreateContents() // set its icon accordingly bool imaged[MAX_ROOTS]; m_ContentsBox->DeleteAllItems(); - + // Don't show (Help) root if there's only one boook if (booksCnt > 1) { @@ -773,8 +773,10 @@ void wxHtmlHelpFrame::CreateContents() if (booksCnt == 1) { roots[0] = roots[1] = m_ContentsBox->AddRoot( - it->m_Name, IMG_Page, -1, + it->m_Name, IMG_Book, -1, new wxHtmlHelpTreeItemData(i)); + imaged[0] = imaged[1] = TRUE; + m_ContentsBox->SetItemBold(roots[1], TRUE); } // multiple books: else