diff --git a/contrib/include/wx/ogl/basic.h b/contrib/include/wx/ogl/basic.h index 52d1b43fd0..2c2ee17563 100644 --- a/contrib/include/wx/ogl/basic.h +++ b/contrib/include/wx/ogl/basic.h @@ -16,7 +16,13 @@ #pragma interface "basic.h" #endif +#ifndef wxUSE_DEPRECATED +#define wxUSE_DEPRECATED 1 +#endif + +#if wxUSE_DEPRECATED #include +#endif #define OGL_VERSION 2.0 diff --git a/contrib/include/wx/ogl/ogldiag.h b/contrib/include/wx/ogl/ogldiag.h index c1580a99c2..9a947182e2 100644 --- a/contrib/include/wx/ogl/ogldiag.h +++ b/contrib/include/wx/ogl/ogldiag.h @@ -16,7 +16,7 @@ #pragma interface "ogldiag.h" #endif -#include +#include "wx/ogl/basic.h" #if wxUSE_PROLOGIO #include