add semicolons after wxDEFINE_EVENT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e5fbeb79c1
commit
16be58c140
@ -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) \
|
||||
|
@ -26,7 +26,7 @@
|
||||
const wxEventType LegacyEventType = wxNewEventType();
|
||||
|
||||
class MyEvent;
|
||||
wxDEFINE_EVENT( MyEventType, MyEvent )
|
||||
wxDEFINE_EVENT(MyEventType, MyEvent);
|
||||
|
||||
class MyEvent : public wxEvent
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user