git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56370
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, First selected Item: %s"), title );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, First selected Item: %s"), title );
+#else
+ wxString text;
+ text.Printf( wxT("wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, Item: %s\n"), title );
+ m_log->WriteText( text );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING, Item: %s"), title );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING, Item: %s"), title );
+#else
+ wxString text;
+ text.Printf( wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING, Item: %s\n"), title );
+ m_log->WriteText( text );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED, Item: %s"), title );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED, Item: %s"), title );
+#else
+ wxString text;
+ text.Printf( wxT("wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED, Item: %s\n"), title );
+ m_log->WriteText( text );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING, Item: %s"), title );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING, Item: %s"), title );
+#else
+ wxString text;
+ text.Printf( wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING, Item: %s\n"), title );
+ m_log->WriteText( text );
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED, Item: %s"),title);
wxString title = m_music_model->GetTitle( event.GetItem() );
#ifdef ENABLE_LOGGING
wxLogMessage(wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED, Item: %s"),title);
+#else
+ wxString text;
+ text.Printf( wxT("wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED, Item: %s\n"), title );
+ m_log->WriteText( text );