]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
add support for wxStrnlen for those platforms where it's available
[wxWidgets.git] / include / wx / event.h
index cd8b991501b4a9b34fb126a6c78bb489a314c258..fd6866ee584449e4b3a81f93fbaf8a43d4c003ab 100644 (file)
@@ -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 wxEventTypename;
 
     #define wxDECLARE_LOCAL_EVENT( name, type ) \
         wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type )