From 4ff9eba64430e251a975b1d4051b8380501e0d72 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Nov 1999 17:56:56 +0000 Subject: [PATCH] disabled the old odbc code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/odbc.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/common/odbc.cpp b/src/common/odbc.cpp index 224738bda4..103fdda8af 100644 --- a/src/common/odbc.cpp +++ b/src/common/odbc.cpp @@ -23,7 +23,11 @@ #include "wx/defs.h" -#if wxUSE_ODBC +// this code is old and shouldn't be used - use the new ODBC classes in db.cpp +// and dbtable.cpp instead +#define wxUSE_OLD_ODBC 0 + +#if wxUSE_OLD_ODBC #ifdef __VISUALC__ #pragma warning(disable:4706) // assignment within conditional expression @@ -1835,4 +1839,4 @@ bool wxQueryField::IsDirty(void) { #pragma warning(default:4706) // assignment within conditional expression #endif // VC++ -#endif // wxUSE_ODBC +#endif // wxUSE_OLD_ODBC