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:
@@ -13,7 +13,7 @@
|
|||||||
#ifndef _WX_WINDOW_H_
|
#ifndef _WX_WINDOW_H_
|
||||||
#define _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
|
// 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
|
// resizing complicated window hierarchies, but this can in theory result in
|
||||||
|
Reference in New Issue
Block a user