fix wxDEFINE_EVENT_REFERENCE in wxEVENTS_COMPATIBILITY_2_8 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b6fd0b4245
commit
4b42c189d5
@ -105,10 +105,10 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType();
|
||||
extern const expdecl wxEventType name;
|
||||
|
||||
#define wxDEFINE_EVENT_REFERENCE( name, type, value ) \
|
||||
const wxEventType &name( value );
|
||||
const wxEventType& name = value;
|
||||
|
||||
#define wxDECLARE_EXPORTED_EVENT_REFERENCE( expdecl, name, type ) \
|
||||
extern const expdecl wxEventType &name;
|
||||
extern const expdecl wxEventType& name;
|
||||
|
||||
#define wxDECLARE_LOCAL_EVENT( name, type ) \
|
||||
wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type )
|
||||
|
Loading…
Reference in New Issue
Block a user