From: Vadim Zeitlin Date: Sat, 7 Feb 2009 21:04:47 +0000 (+0000) Subject: add semicolons after wxDEFINE_EVENT() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/16be58c140008f5d27d6b9eb1ae95b11c8b4ba7f?ds=sidebyside add semicolons after wxDEFINE_EVENT() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 {