]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynarray.h
Small tweaks for WinCE compatibility
[wxWidgets.git] / include / wx / dynarray.h
index 3228aee579c9f13b9f7c0bc5152be7aa290f73f0..b836cffb729ffea5e3a7d320cb64e81788401305 100644 (file)
@@ -24,9 +24,6 @@
     #include <vector>
     #include <algorithm>
     #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                                           \