X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/imaglist.h?ds=sidebyside diff --git a/include/wx/imaglist.h b/include/wx/imaglist.h index e62b821a80..8a752751d7 100644 --- a/include/wx/imaglist.h +++ b/include/wx/imaglist.h @@ -1,18 +1,10 @@ #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" +#else + #include "wx/generic/imaglist.h" #endif #endif