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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user