X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c85071392af92841050de11e1b71d0b155f749d..9d8c2f419f522408a922277df330d4c4511befb9:/include/wx/process.h diff --git a/include/wx/process.h b/include/wx/process.h index 34d54a50cb..ddf87b3a04 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -87,6 +87,10 @@ protected: // wxProcess events // ---------------------------------------------------------------------------- +BEGIN_DECLARE_EVENT_TYPES() + DECLARE_EVENT_TYPE(wxEVT_END_PROCESS, 440) +END_DECLARE_EVENT_TYPES() + class WXDLLEXPORT wxProcessEvent : public wxEvent { public: @@ -110,10 +114,6 @@ public: DECLARE_DYNAMIC_CLASS(wxProcessEvent) }; -BEGIN_DECLARE_EVENT_TYPES() - DECLARE_EVENT_TYPE(wxEVT_END_PROCESS, 440) -END_DECLARE_EVENT_TYPES() - typedef void (wxObject::*wxProcessEventFunction)(wxProcessEvent&); #define EVT_END_PROCESS(id, func) \