Compilation fix for !WXWIN_COMPATIBILITY_2_4.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-07-20 19:32:44 +00:00
parent ccd7d9e5eb
commit b5f6b52ab3
6 changed files with 15 additions and 3 deletions

View File

@@ -792,7 +792,8 @@ void wxHtmlHelpFrame::CreateContents()
else if (m_hfStyle & wxHF_ICONS_BOOK_CHAPTER)
image = (it->m_Level == 1) ? IMG_Book : IMG_Folder;
m_ContentsBox->SetItemImage(roots[it->m_Level], image);
m_ContentsBox->SetItemSelectedImage(roots[it->m_Level], image);
m_ContentsBox->SetItemImage(roots[it->m_Level], image,
wxTreeItemIcon_Selected);
imaged[it->m_Level] = TRUE;
}
}