From: Vadim Zeitlin Date: Sat, 24 Dec 2011 15:43:05 +0000 (+0000) Subject: Add EVT_WINDOW_MODAL_DIALOG_CLOSED() event table macro. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a601696dd5bcfbccdfb573d029110db1a6e40c00 Add EVT_WINDOW_MODAL_DIALOG_CLOSED() event table macro. Add it for consistency with wxEVT_WINDOW_MODAL_DIALOG_CLOSED. See #13804. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dialog.h b/include/wx/dialog.h index 1a602c9f96..bf9d71646a 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -394,5 +394,8 @@ typedef void (wxEvtHandler::*wxWindowModalDialogEventFunction)(wxWindowModalDial #define wxWindowModalDialogEventHandler(func) \ wxEVENT_HANDLER_CAST(wxWindowModalDialogEventFunction, func) +#define EVT_WINDOW_MODAL_DIALOG_CLOSED(winid, func) \ + wx__DECLARE_EVT1(wxEVT_WINDOW_MODAL_DIALOG_CLOSED, winid, wxWindowModalDialogEventHandler(func)) + #endif // _WX_DIALOG_H_BASE_