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
This commit is contained in:
Vadim Zeitlin
2010-10-24 22:41:18 +00:00
parent 5fc3e6d448
commit 6969b18cc7

View File

@@ -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);
}