remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -124,7 +124,7 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType();
|
||||
// Declare a local (not exported) wxEventType-based event type:
|
||||
|
||||
#define wxDECLARE_EVENT( name, type ) \
|
||||
wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type );
|
||||
wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type )
|
||||
|
||||
#else
|
||||
// Define/Declare a templatized event type with the corresponding event as
|
||||
@@ -149,7 +149,7 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType();
|
||||
// Declare a local (not exported) templatized event type:
|
||||
|
||||
#define wxDECLARE_EVENT( name, type ) \
|
||||
wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type );
|
||||
wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type )
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user