]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/odbc.cpp
wxChoice/wxComboBox background colour change (to get back to where we were);
[wxWidgets.git] / 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