Old API deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3088,7 +3088,7 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
|
||||
// remember the old cursor because we will change it while
|
||||
// dragging
|
||||
m_oldCursor = m_cursor;
|
||||
|
||||
|
||||
// in a single selection control, hide the selection temporarily
|
||||
if ( !(GetWindowStyleFlag() & wxTR_MULTIPLE) )
|
||||
{
|
||||
@@ -3563,6 +3563,20 @@ wxGenericTreeCtrl::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
||||
#endif
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
int wxGenericTreeCtrl::GetItemSelectedImage(const wxTreeItemId& item) const
|
||||
{
|
||||
return GetItemImage(item, wxTreeItemIcon_Selected);
|
||||
}
|
||||
|
||||
void wxGenericTreeCtrl::SetItemSelectedImage(const wxTreeItemId& item, int image)
|
||||
{
|
||||
SetItemImage(item, image, wxTreeItemIcon_Selected);
|
||||
}
|
||||
|
||||
#endif // WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
|
||||
wxTreeItemId wxGenericTreeCtrl::GetParent(const wxTreeItemId& item) const
|
||||
|
Reference in New Issue
Block a user