fix crash when the user code refuses to validate the new text when editing the item and a generic label editing code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -353,8 +353,7 @@ protected:
|
||||
|
||||
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;
|
||||
@@ -367,7 +366,6 @@ protected:
|
||||
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,
|
||||
@@ -380,7 +378,6 @@ protected:
|
||||
wxGenericTreeItem *m_oldSelection;
|
||||
|
||||
wxTimer *m_renameTimer;
|
||||
wxString m_renameRes;
|
||||
|
||||
wxBitmap *m_arrowRight,
|
||||
*m_arrowDown;
|
||||
@@ -431,7 +428,7 @@ protected:
|
||||
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 );
|
||||
|
Reference in New Issue
Block a user