diff --git a/include/wx/osx/glcanvas.h b/include/wx/osx/glcanvas.h index 7f12f246fd..34af46fdd5 100644 --- a/include/wx/osx/glcanvas.h +++ b/include/wx/osx/glcanvas.h @@ -16,6 +16,9 @@ #import #define wxUSE_OPENGL_EMULATION 1 #else +#ifndef GL_SILENCE_DEPRECATION + #define GL_SILENCE_DEPRECATION +#endif #include #endif