-#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"