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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user