diff --git a/samples/event/event.cpp b/samples/event/event.cpp index 27f0d2e505..febf5ab031 100644 --- a/samples/event/event.cpp +++ b/samples/event/event.cpp @@ -36,7 +36,7 @@ // define a custom event type (we don't need a separate declaration here but // usually you would use a matching wxDECLARE_EVENT in a header) -wxDEFINE_EVENT(wxEVT_MY_CUSTOM_COMMAND, wxCommandEvent) +wxDEFINE_EVENT(wxEVT_MY_CUSTOM_COMMAND, wxCommandEvent); // it may also be convenient to define an event table macro for this event type #define EVT_MY_CUSTOM_COMMAND(id, fn) \ diff --git a/tests/events/evthandler.cpp b/tests/events/evthandler.cpp index 0d831307b3..561680de76 100644 --- a/tests/events/evthandler.cpp +++ b/tests/events/evthandler.cpp @@ -26,7 +26,7 @@ const wxEventType LegacyEventType = wxNewEventType(); class MyEvent; -wxDEFINE_EVENT( MyEventType, MyEvent ) +wxDEFINE_EVENT(MyEventType, MyEvent); class MyEvent : public wxEvent {