X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6d94998fcbdb3ce60774e38c0d4b6ee20c6798..dad5f99acb6b3400ff73562c03db2f3f21b658cd:/include/wx/imaglist.h?ds=sidebyside diff --git a/include/wx/imaglist.h b/include/wx/imaglist.h index 7aa92ee1bf..8a752751d7 100644 --- a/include/wx/imaglist.h +++ b/include/wx/imaglist.h @@ -1,22 +1,10 @@ #ifndef _WX_IMAGLIST_H_BASE_ #define _WX_IMAGLIST_H_BASE_ -#if defined(__WXMSW__) -#ifdef __WIN16__ -#include "wx/generic/imaglist.h" +#if defined(__WIN32__) && !defined(__WXUNIVERSAL__) + #include "wx/msw/imaglist.h" #else -#include "wx/msw/imaglist.h" -#endif -#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" + #include "wx/generic/imaglist.h" #endif #endif