X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd94a0d119ade811cd876a309cfe6d28b5c36dd..0e080be64b6b1f1269d78d95efb2ac728fc95a6d:/include/wx/imaglist.h diff --git a/include/wx/imaglist.h b/include/wx/imaglist.h index 6558755bc7..8a752751d7 100644 --- a/include/wx/imaglist.h +++ b/include/wx/imaglist.h @@ -1,13 +1,10 @@ #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 +#else + #include "wx/generic/imaglist.h" #endif #endif