]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imaglist.h
fix the tests to pass with both gcc and msvc (2nd part of patch 1462778)
[wxWidgets.git] / include / wx / imaglist.h
index 8b10b0f524d8a51bee661f7bf03d3f0bb6206ac9..1b2c2c4cc28dd82828c90b96dc39c82a79c99c50 100644 (file)
@@ -1,26 +1,23 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/imaglist.h
+// Purpose:     wxImageList base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
 #ifndef _WX_IMAGLIST_H_BASE_
 #define _WX_IMAGLIST_H_BASE_
 
 #ifndef _WX_IMAGLIST_H_BASE_
 #define _WX_IMAGLIST_H_BASE_
 
-#if defined(__WXUNIVERSAL__)
-#include "wx/generic/imaglist.h"
-#elif defined(__WXMSW__)
-#if defined(__WIN16__)
-#include "wx/generic/imaglist.h"
+#if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
+    #include "wx/msw/imaglist.h"
+#elif defined(__WXMAC_CARBON__)
+    #include "wx/mac/imaglist.h"
 #else
 #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(__WXPM__)
-#include "wx/generic/imaglist.h"
-#elif defined(__WXSTUBS__)
-#include "wx/generic/imaglist.h"
+    #include "wx/generic/imaglist.h"
 #endif
 
 #endif
 #endif
 
 #endif