From 0404ddae295e72422dc1dce0f03d1a1eeea9cb9a Mon Sep 17 00:00:00 2001 From: "marco." Date: Tue, 10 Jan 2012 18:54:40 +0100 Subject: [PATCH] MacOSX: compile error fix after r3329 --- include/class_drawpanel.h | 1 - include/wxstruct.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/class_drawpanel.h b/include/class_drawpanel.h index 536e8e845f..a18a492d03 100644 --- a/include/class_drawpanel.h +++ b/include/class_drawpanel.h @@ -33,7 +33,6 @@ #include "colors.h" #include "base_struct.h" -#include class EDA_DRAW_FRAME; class BASE_SCREEN; diff --git a/include/wxstruct.h b/include/wxstruct.h index 0959be7eb4..6475a5ad2b 100644 --- a/include/wxstruct.h +++ b/include/wxstruct.h @@ -46,6 +46,10 @@ #include "colors.h" #include "common.h" +#ifdef USE_WX_OVERLAY +#include +#endif + // C++ guarantees that operator delete checks its argument for null-ness #ifndef SAFE_DELETE #define SAFE_DELETE( p ) delete (p); (p) = NULL;