From: Vadim Zeitlin Date: Sat, 24 Dec 2011 15:43:08 +0000 (+0000) Subject: Add EVT_FSWATCHER event table macro. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70ef16f4e247c08ef1d7dbe3d8e354723f7ca0b4?ds=sidebyside;hp=a601696dd5bcfbccdfb573d029110db1a6e40c00 Add EVT_FSWATCHER event table macro. It was documented, and ought to have existed anyhow for consistency with wxEVT_FSWATCHER, but wasn't defined. Do it now. Closes #13804. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/fswatcher.h b/include/wx/fswatcher.h index 34e14fecd6..ff856722c1 100644 --- a/include/wx/fswatcher.h +++ b/include/wx/fswatcher.h @@ -184,6 +184,8 @@ typedef void (wxEvtHandler::*wxFileSystemWatcherEventFunction) #define wxFileSystemWatcherEventHandler(func) \ wxEVENT_HANDLER_CAST(wxFileSystemWatcherEventFunction, func) +#define EVT_FSWATCHER(winid, func) \ + wx__DECLARE_EVT1(wxEVT_FSWATCHER, winid, wxFileSystemWatcherEventHandler(func)) // ---------------------------------------------------------------------------- // wxFileSystemWatcherBase: interface for wxFileSystemWatcher