if (idx == -1)
return;
- bool ret;
+ bool ret = false;
wxString path = m_filesList->GetItemText(idx).Mid(6);
// This will tell wxFileSystemWatcher whether to dereference symlinks
return "MODIFY";
case wxFSW_EVENT_ACCESS:
return "ACCESS";
- case wxFSW_EVENT_ATTRIB: // Currently this is wxGTK-only
+ case wxFSW_EVENT_ATTRIB: // Currently this is wxGTK-only
return "ATTRIBUTE";
+#ifdef wxHAS_INOTIFY
+ case wxFSW_EVENT_UNMOUNT: // Currently this is wxGTK-only
+ return "UNMOUNT";
+#endif
case wxFSW_EVENT_WARNING:
return "WARNING";
case wxFSW_EVENT_ERROR: