]> git.saurik.com Git - wxWidgets.git/commitdiff
Added EVT_COMMAND_CONTEXT_MENU with id arg
authorJulian Smart <julian@anthemion.co.uk>
Tue, 15 Feb 2005 09:28:00 +0000 (09:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 15 Feb 2005 09:28:00 +0000 (09:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index cf5f041bc07d872fa8f871d232303e123017e9dc..7e2d8dae3c166f74eac3e4e5109e5a38e1e40f6a 100644 (file)
@@ -2853,6 +2853,7 @@ typedef void (wxEvtHandler::*wxMouseCaptureChangedEventFunction)(wxMouseCaptureC
 
 // Context Menu Events
 #define EVT_CONTEXT_MENU(func) wx__DECLARE_EVT0(wxEVT_CONTEXT_MENU, wxContextMenuEventHandler(func))
 
 // Context Menu Events
 #define EVT_CONTEXT_MENU(func) wx__DECLARE_EVT0(wxEVT_CONTEXT_MENU, wxContextMenuEventHandler(func))
+#define EVT_COMMAND_CONTEXT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_CONTEXT_MENU, winid, wxContextMenuEventHandler(func))
 
 // ----------------------------------------------------------------------------
 // Global data
 
 // ----------------------------------------------------------------------------
 // Global data