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
This commit is contained in:
Vadim Zeitlin 2009-12-26 16:36:32 +00:00
parent 88046bdac5
commit cf7715db56

View File

@ -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