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:
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user