diff --git a/include/wx/event.h b/include/wx/event.h index 0d9fb86e18..ee9d6b0b20 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -3155,7 +3155,7 @@ private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxEvtHandler) }; -WX_DEFINE_ARRAY_WITH_DECL_PTR(wxEvtHandler *, wxEvtHandlerArray, WXDLLIMPEXP_BASE); +WX_DEFINE_ARRAY_WITH_DECL_PTR(wxEvtHandler *, wxEvtHandlerArray, class WXDLLIMPEXP_BASE); // ---------------------------------------------------------------------------- // wxEventConnectionRef represents all connections between two event handlers