diff --git a/include/wx/typeinfo.h b/include/wx/typeinfo.h index 14fb057fc9..c20106df30 100644 --- a/include/wx/typeinfo.h +++ b/include/wx/typeinfo.h @@ -106,7 +106,7 @@ typedef void (*wxTypeIdentifier)(); // WX_DECLARE_TYPEINFO() or WX_DECLARE_TYPEINFO_INLINE() however. #define _WX_DECLARE_TYPEINFO_CUSTOM(CLS, IDENTFUNC) \ public: \ - virtual wxTypeIdentifier GetWxTypeId() const \ + virtual wxTypeIdentifier GetWxTypeId() const wxOVERRIDE \ { \ return reinterpret_cast \ (&IDENTFUNC); \