Don't unconditionally include the generic headers, fixes build

problems on Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-18 19:13:11 +00:00
parent f1460f5b23
commit bd6412b6d0
2 changed files with 4 additions and 2 deletions

View 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

View 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
// ----------------------------------------------------------------------------