From cf7715db56ae72ef9ce37329c33b95452088036e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Dec 2009 16:36:32 +0000 Subject: [PATCH] Don't forward declare wxSystemColour enum. Forward declaring enums is illegal in standard C++ and while MSVC allows this as an extension, it doesn't compile with g++. Just include wx/settings.h instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 0f2efd7d35..e946446c55 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -13,7 +13,7 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -enum wxSystemColour; +#include "wx/settings.h" // solely for wxSystemColour // if this is set to 1, we use deferred window sizing to reduce flicker when // resizing complicated window hierarchies, but this can in theory result in -- 2.47.2