added test for cancelled END_EDIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d2ed74b912
commit
1bf37bf5b1
1 changed files with 3 additions and 1 deletions
|
|
@ -716,7 +716,9 @@ void MyListCtrl::OnBeginLabelEdit(wxListEvent& event)
|
|||
|
||||
void MyListCtrl::OnEndLabelEdit(wxListEvent& event)
|
||||
{
|
||||
wxLogMessage( wxT("OnEndLabelEdit: %s"), event.m_item.m_text.c_str());
|
||||
wxLogMessage( wxT("OnEndLabelEdit: %s"),
|
||||
event.IsEditCancelled() ? _T("[cancelled]")
|
||||
: event.m_item.m_text.c_str());
|
||||
}
|
||||
|
||||
void MyListCtrl::OnDeleteItem(wxListEvent& event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue