X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31222b7cfa9aedad2a4d39e5fdafa540eb4c7c79..8ba2f3ec94b86800e6c7ee918ce3901da7e78b7b:/include/wx/dynarray.h diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 3228aee579..b836cffb72 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -24,9 +24,6 @@ #include #include #include "wx/afterstd.h" - #if defined(__WXMSW__) && defined(__MINGW32__) - #include "wx/msw/winundef.h" - #endif #endif /* @@ -457,7 +454,7 @@ public: \ // ---------------------------------------------------------------------------- #define _WX_DEFINE_SORTED_TYPEARRAY_2(T, name, base, defcomp, classexp, comptype)\ -wxCOMPILE_TIME_ASSERT2(sizeof(T) <= sizeof(void *), \ +wxCOMPILE_TIME_ASSERT2(sizeof(T) <= sizeof(base::base_type), \ TypeTooBigToBeStoredInSorted##base, \ name); \ classexp name : public base \