git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35880
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxGenericTreeCtrl::OnRenameTimer()
{
void wxGenericTreeCtrl::OnRenameTimer()
{
+ EditLabel( m_current );
}
void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
}
void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
#include "wx/dynarray.h"
#include "wx/imaglist.h"
#include "wx/settings.h"
#include "wx/dynarray.h"
#include "wx/imaglist.h"
#include "wx/settings.h"
-#include "wx/msw/treectrl.h"
+#include "wx/treectrl.h"
#include "wx/msw/dragimag.h"
// macros to hide the cast ugliness
#include "wx/msw/dragimag.h"
// macros to hide the cast ugliness
wxImageList *wxTreeCtrl::GetImageList(int) const
{
wxImageList *wxTreeCtrl::GetImageList(int) const
{
+ return wxTreeCtrlBase::GetImageList();
}
void wxTreeCtrl::SetImageList(wxImageList *imageList, int)
}
void wxTreeCtrl::SetImageList(wxImageList *imageList, int)
-void wxTreeCtrl::UnselectItem(const wxTreeItemId& item)
-{
- SelectItem(item, false);
-}
-
-void wxTreeCtrl::ToggleItemSelection(const wxTreeItemId& item)
-{
- SelectItem(item, !IsSelected(item));
-}
-
void wxTreeCtrl::EnsureVisible(const wxTreeItemId& item)
{
// no error return
void wxTreeCtrl::EnsureVisible(const wxTreeItemId& item)
{
// no error return
GetIdFromData(tree, pItem2));
}
GetIdFromData(tree, pItem2));
}
-int wxTreeCtrl::OnCompareItems(const wxTreeItemId& item1,
- const wxTreeItemId& item2)
-{
- return wxStrcmp(GetItemText(item1), GetItemText(item2));
-}
-
void wxTreeCtrl::SortChildren(const wxTreeItemId& item)
{
wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
void wxTreeCtrl::SortChildren(const wxTreeItemId& item)
{
wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );