]> git.saurik.com Git - wxWidgets.git/commitdiff
disabled the old odbc code
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 1999 17:56:56 +0000 (17:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 1999 17:56:56 +0000 (17:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/odbc.cpp

index 224738bda46f9d36e19ad462fefe79e655ad90d0..103fdda8afd42ec29b96d1b119d28743d9213115 100644 (file)
 
 #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