return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING, Item: %s"), title.GetData() );
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING, Item: %s"), title );
}
return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED, Item: %s"), title.GetData() );
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED, Item: %s"), title );
}
void MyFrame::OnEditingDone( wxDataViewEvent &event )
return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE, Item: %s"), title.GetData() );
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE, Item: %s"), title );
}
void MyFrame::OnExpanded( wxDataViewEvent &event )
return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED, Item: %s"), title.GetData() );
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED, Item: %s"), title );
}
void MyFrame::OnCollapsing( wxDataViewEvent &event )
return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING, Item: %s"), title.GetData() );
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING, Item: %s"), title );
}
void MyFrame::OnCollapsed( wxDataViewEvent &event )
return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED, Item: %s"),title.GetData());
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED, Item: %s"),title);
}
void MyFrame::OnContextMenu( wxDataViewEvent &event )
return;
wxString title = m_music_model->GetTitle( event.GetItem() );
- wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, Item: %s"),title.GetData());
+ wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, Item: %s"),title );
wxMenu menu;
menu.Append( 1, wxT("entry 1") );