git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4313
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#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
#pragma warning(default:4706) // assignment within conditional expression
#endif // VC++
-#endif // wxUSE_ODBC
+#endif // wxUSE_OLD_ODBC