X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd94a0d119ade811cd876a309cfe6d28b5c36dd..916f434d88f62855e8044ecafa988233374894aa:/include/wx/imaglist.h diff --git a/include/wx/imaglist.h b/include/wx/imaglist.h index 6558755bc7..623585d56e 100644 --- a/include/wx/imaglist.h +++ b/include/wx/imaglist.h @@ -1,13 +1,12 @@ #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