Check wxUSE_DEPRECATED before including its headers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-01 19:32:16 +00:00
parent d2fa3a370d
commit 39b9cdaff4
2 changed files with 7 additions and 1 deletions

View File

@@ -16,7 +16,13 @@
#pragma interface "basic.h"
#endif
#ifndef wxUSE_DEPRECATED
#define wxUSE_DEPRECATED 1
#endif
#if wxUSE_DEPRECATED
#include <wx/deprecated/setup.h>
#endif
#define OGL_VERSION 2.0

View File

@@ -16,7 +16,7 @@
#pragma interface "ogldiag.h"
#endif
#include <wx/deprecated/setup.h>
#include "wx/ogl/basic.h"
#if wxUSE_PROLOGIO
#include <wx/deprecated/wxexpr.h>