#pragma interface "choice.h"
#endif
+class WXDLLIMPEXP_BASE wxSortedArrayString;
+
//-----------------------------------------------------------------------------
// wxChoice
//-----------------------------------------------------------------------------
#include "wx/list.h"
+class WXDLLIMPEXP_BASE wxSortedArrayString;
+
//-----------------------------------------------------------------------------
// wxListBox
//-----------------------------------------------------------------------------
#pragma interface "choice.h"
#endif
+class WXDLLIMPEXP_BASE wxSortedArrayString;
+
//-----------------------------------------------------------------------------
// wxChoice
//-----------------------------------------------------------------------------
#include "wx/list.h"
+class WXDLLIMPEXP_BASE wxSortedArrayString;
+
//-----------------------------------------------------------------------------
// wxListBox
//-----------------------------------------------------------------------------
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;
}
}
case wxTreeItemIcon_Normal:
{
const int imageNormalOld = GetItemImage(item);
- const int imageSelOld = GetItemSelectedImage(item);
+ const int imageSelOld =
+ GetItemImage(item, wxTreeItemIcon_Selected);
// always set the normal image
imageNormal = image;
// the wxTreeItemIndirectData GetItemXXXImage() will use it to
// get the images
imageNormal = GetItemImage(item);
- imageSel = GetItemSelectedImage(item);
+ imageSel = GetItemImage(item, wxTreeItemIcon_Selected);
// if it doesn't have it yet, add it
wxTreeItemIndirectData *data = new
DoExpand(item, TVE_TOGGLE);
}
+#if WXWIN_COMPATIBILITY_2_4
void wxTreeCtrl::ExpandItem(const wxTreeItemId& item, int action)
{
DoExpand(item, action);
}
+#endif
void wxTreeCtrl::Unselect()
{