]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't unconditionally include the generic headers, fixes build
authorRobin Dunn <robin@alldunn.com>
Mon, 18 Sep 2006 19:13:11 +0000 (19:13 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 18 Sep 2006 19:13:11 +0000 (19:13 +0000)
problems on Windows.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/imaglist.h
include/wx/listctrl.h

index 2e928484fa2028d44131e8e6852406462172a897..8c4bec7bcc919a824aa74a11b43e7abb1a5a3f5d 100644 (file)
@@ -39,12 +39,13 @@ enum {
 #define wxIMAGELIST_DRAW_SELECTED       0x0004
 #define wxIMAGELIST_DRAW_FOCUSED        0x0008
 
-#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
+    #include "wx/generic/imaglist.h"
 #endif
 
 #endif
index 56deddfebf126ddb6a4d5379343d888e103b6ad9..56be31e3324101943fa35866ed43408ae39bdb76 100644 (file)
@@ -27,12 +27,13 @@ extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[];
 // ----------------------------------------------------------------------------
 // include the wxListCtrl class declaration
 // ----------------------------------------------------------------------------
-#include "wx/generic/listctrl.h"    
 
 #if defined(__WIN32__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/listctrl.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/carbon/listctrl.h"
+#else
+    #include "wx/generic/listctrl.h"
 #endif
 
 // ----------------------------------------------------------------------------