Fix assert in dataview sample, fixes #12194: wxDataViewCtrl sample asserts in wxArgNormalizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -896,8 +896,9 @@ void MyFrame::OnValueChanged( wxDataViewEvent &event )
|
|||||||
if (!m_log)
|
if (!m_log)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wxLogMessage( "wxEVT_DATAVIEW_ITEM_VALUE_CHANGED, Item Id: %d; Column: %d",
|
wxString title = m_music_model->GetTitle( event.GetItem() );
|
||||||
event.GetItem().GetID(), event.GetColumn() );
|
wxLogMessage( "wxEVT_DATAVIEW_ITEM_VALUE_CHANGED, Item Id: %s; Column: %d",
|
||||||
|
title, event.GetColumn() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyFrame::OnActivated( wxDataViewEvent &event )
|
void MyFrame::OnActivated( wxDataViewEvent &event )
|
||||||
|
Reference in New Issue
Block a user