X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6d94998fcbdb3ce60774e38c0d4b6ee20c6798..da0766ab2ae2357cd4dc111415731ee85aa45984:/include/wx/imaglist.h 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