From: Marco T. <wx...@so...> - 2002-03-31 14:59:21
|
hello, i have a treectrl which is editable... if i start edit an EVT_TREE_BEGIN_LABEL_EDIT is called... that's ok... if i press "ENTER" (without changing the name), a EVT_TREE_BEGIN_LABEL_EDIT is called again... if i rename it and press "ENTER" an EVT_TREE_END_LABEL_EDIT and then an EVT_TREE_BEGIN_LABEL_EDIT is called... in both cases, the treeItem stays in edit state... i expect that if i press "ENTER" in edit state (no mather if i renamed it or not) that an EVT_TREE_END_LABEL_EDIT is called and the item is no longer in edit state is this a mistake from my side or a bug? any hints/ideas? greeting Marco |