]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imaglist.h
avoid creating and immediately destroying a wxGraphicsContext when creating a wxDC...
[wxWidgets.git] / include / wx / imaglist.h
index f4468e216f9ca75abd133df219c19f4306059fbd..c9f07299f08a744944a912a1dda24c34bc7252a1 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef _WX_IMAGLIST_H_BASE_
 #define _WX_IMAGLIST_H_BASE_
 
+#include "wx/defs.h"
+
 /*
  * wxImageList is used for wxListCtrl, wxTreeCtrl. These controls refer to
  * images for their items by an index into an image list.
@@ -49,7 +51,7 @@ enum
 #elif defined(__WXMSW__)
     #include "wx/msw/imaglist.h"
 #elif defined(__WXMAC__)
-    #include "wx/mac/imaglist.h"
+    #include "wx/osx/imaglist.h"
 #endif
 
 #endif // _WX_IMAGLIST_H_BASE_