]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imaglist.h
compilation fix for gcc (closes bug 996701)
[wxWidgets.git] / include / wx / imaglist.h
index e62b821a80117394ac251734d145396157a57b2c..8a752751d7f54f4161036a062bd8da54a4588493 100644 (file)
@@ -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