From: Vadim Zeitlin Date: Sun, 24 Oct 2010 22:41:18 +0000 (+0000) Subject: Fix wrong wxLogDebug() call in fswatcher sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6969b18cc75866e1a1c47e20f0b3d4d5dcff95b1?ds=sidebyside Fix wrong wxLogDebug() call in fswatcher sample. Replace wxLogDebug() with wxLogTrace() as was probably intended. This fixes the assert which happened when running the sample because of the wrong number of parameters passed to wxLogDebug(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/fswatcher/fswatcher.cpp b/samples/fswatcher/fswatcher.cpp index bafc0d2db4..8e4132192e 100644 --- a/samples/fswatcher/fswatcher.cpp +++ b/samples/fswatcher/fswatcher.cpp @@ -366,7 +366,7 @@ void MyFrame::OnRemove(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnFileSystemEvent(wxFileSystemWatcherEvent& event) { // TODO remove when code is rock-solid - wxLogDebug(wxTRACE_FSWATCHER, "*** %s ***", event.ToString()); + wxLogTrace(wxTRACE_FSWATCHER, "*** %s ***", event.ToString()); LogEvent(event); }