X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..034e3041693f90324cfa4d282ef44e6063738d83:/include/wx/fdrepdlg.h diff --git a/include/wx/fdrepdlg.h b/include/wx/fdrepdlg.h index 6efa1c3a68..f8d30441f0 100644 --- a/include/wx/fdrepdlg.h +++ b/include/wx/fdrepdlg.h @@ -6,7 +6,7 @@ // Created: 23/03/2001 // RCS-ID: // Copyright: (c) Markus Greither -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FINDREPLACEDLG_H_ @@ -177,7 +177,7 @@ typedef void (wxEvtHandler::*wxFindDialogEventFunction)(wxFindDialogEvent&); #define EVT_FIND(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_FIND, id, -1, \ + wxEVT_COMMAND_FIND, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction)(wxFindDialogEventFunction) \ & fn, \ (wxObject *) NULL \ @@ -185,7 +185,7 @@ typedef void (wxEvtHandler::*wxFindDialogEventFunction)(wxFindDialogEvent&); #define EVT_FIND_NEXT(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_FIND_NEXT, id, -1, \ + wxEVT_COMMAND_FIND_NEXT, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction)(wxFindDialogEventFunction) \ & fn, \ (wxObject *) NULL \ @@ -193,7 +193,7 @@ typedef void (wxEvtHandler::*wxFindDialogEventFunction)(wxFindDialogEvent&); #define EVT_FIND_REPLACE(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_FIND_REPLACE, id, -1, \ + wxEVT_COMMAND_FIND_REPLACE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction)(wxFindDialogEventFunction) \ & fn, \ (wxObject *) NULL \ @@ -201,7 +201,7 @@ typedef void (wxEvtHandler::*wxFindDialogEventFunction)(wxFindDialogEvent&); #define EVT_FIND_REPLACE_ALL(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_FIND_REPLACE_ALL, id, -1, \ + wxEVT_COMMAND_FIND_REPLACE_ALL, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction)(wxFindDialogEventFunction) \ & fn, \ (wxObject *) NULL \ @@ -209,7 +209,7 @@ typedef void (wxEvtHandler::*wxFindDialogEventFunction)(wxFindDialogEvent&); #define EVT_FIND_CLOSE(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ - wxEVT_COMMAND_FIND_CLOSE, id, -1, \ + wxEVT_COMMAND_FIND_CLOSE, id, wxID_ANY, \ (wxObjectEventFunction)(wxEventFunction)(wxFindDialogEventFunction) \ & fn, \ (wxObject *) NULL \