git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2007-10-10 07:44:34 +00:00
parent 47b4bc1768
commit 1583600031
6 changed files with 22 additions and 13 deletions

View File

@@ -821,8 +821,12 @@ void MyListCtrl::OnBeginLabelEdit(wxListEvent& event)
void MyListCtrl::OnEndLabelEdit(wxListEvent& event)
{
wxLogMessage( wxT("OnEndLabelEdit: %s"),
event.IsEditCancelled() ? _T("[cancelled]")
: event.m_item.m_text.c_str());
(
event.IsEditCancelled() ?
wxString("[cancelled]") :
event.m_item.m_text
).c_str()
);
}
void MyListCtrl::OnDeleteItem(wxListEvent& event)