#ifndef _WX_IMAGLIST_H_BASE_
#define _WX_IMAGLIST_H_BASE_
-#if defined(__WIN32__)
+#if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
#include "wx/msw/imaglist.h"
-#endif
-#include "wx/generic/imaglist.h"
-#if !defined(__WIN32__)
- #define wxImageList wxGenericImageList
- #define sm_classwxImageList sm_classwxGenericImageList
+#elif defined(__WXMAC_CARBON__)
+ #include "wx/mac/imaglist.h"
+#else
+ #include "wx/generic/imaglist.h"
#endif
#endif