diff --git a/include/wx/event.h b/include/wx/event.h index 79534fa7ee..210d323bb8 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -26,6 +26,7 @@ #include "wx/dynarray.h" #include "wx/thread.h" #include "wx/tracker.h" +#include "wx/typeinfo.h" #ifdef wxHAS_EVENT_BIND #include "wx/meta/convertible.h" @@ -153,8 +154,6 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType(); #ifdef wxHAS_EVENT_BIND -#include "wx/typeinfo.h" - // The tag is a type associated to the event type (which is an integer itself, // in spite of its name) value. It exists in order to be used as a template // parameter and provide a mapping between the event type values and their