#include "wx/scrolwin.h"
#include "wx/pen.h"
+#include "wx/imaglist.h"
// -----------------------------------------------------------------------------
// forward declaration
// -----------------------------------------------------------------------------
-class WXDLLEXPORT wxImageList;
class WXDLLEXPORT wxGenericTreeItem;
class WXDLLEXPORT wxTreeItemData;
wxGenericTreeItem *m_anchor;
wxGenericTreeItem *m_current,
- *m_key_current,
- *m_currentEdit;
+ *m_key_current;
unsigned short m_indent;
unsigned short m_spacing;
int m_lineHeight;
m_ownsImageListState,
m_ownsImageListButtons;
bool m_isDragging; // true between BEGIN/END drag events
- bool m_renameAccept;
bool m_lastOnSame; // last click on the same item as prev
wxImageList *m_imageListNormal,
*m_imageListState,
wxGenericTreeItem *m_oldSelection;
wxTimer *m_renameTimer;
- wxString m_renameRes;
wxBitmap *m_arrowRight,
*m_arrowDown;
void RefreshSelectedUnder(wxGenericTreeItem *item);
void OnRenameTimer();
- void OnRenameAccept();
+ bool OnRenameAccept(wxGenericTreeItem *item, const wxString& value);
void FillArray(wxGenericTreeItem*, wxArrayTreeItemIds&) const;
void SelectItemRange( wxGenericTreeItem *item1, wxGenericTreeItem *item2 );