projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b506b
)
fixed typo that caused incorrect if there was only one book
author
Václav Slavík
<vslavik@fastmail.fm>
Sun, 6 May 2001 22:21:18 +0000
(22:21 +0000)
committer
Václav Slavík
<vslavik@fastmail.fm>
Sun, 6 May 2001 22:21:18 +0000
(22:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10022
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/html/helpfrm.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/html/helpfrm.cpp
b/src/html/helpfrm.cpp
index 504dd005bda50ed3301c77dd5b9991decd96466a..3bdfcd58d79cb0ab72084ac638cbd6f0c4d94424 100644
(file)
--- 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