#ifndef _WX_IMAGLIST_H_BASE_
#define _WX_IMAGLIST_H_BASE_
-#if defined(__WXMSW__)
-#include "wx/msw/imaglist.h"
-#elif defined(__WXMOTIF__)
-#include "wx/generic/imaglist.h"
-#elif defined(__WXGTK__)
-#include "wx/generic/imaglist.h"
-#elif defined(__WXQT__)
-#include "wx/generic/imaglist.h"
-#elif defined(__WXMAC__)
-#include "wx/generic/imaglist.h"
-#elif defined(__WXSTUBS__)
-#include "wx/generic/imaglist.h"
+#if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
+ #include "wx/msw/imaglist.h"
+#elif defined(__WXMAC_CARBON__)
+ #include "wx/mac/imaglist.h"
+#else
+ #include "wx/generic/imaglist.h"
#endif
#endif