]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/odbc.cpp
added an error message if a bitmap can't be addedto the image list
[wxWidgets.git] / src / common / odbc.cpp
index 3e921cc2e7c767c7ba3737a3557f0bd6e382a757..576ee3a4874817a4cf7ed20fb5721292d452005b 100644 (file)
 
 #include "wx/defs.h"
 
-#if USE_ODBC
+#if wxUSE_ODBC
+
+#ifdef _MSC_VER
+    #pragma warning(disable:4706)   // assignment within conditional expression
+#endif // VC++
 
 #ifndef WX_PRECOMP
 #include "wx/utils.h"
@@ -1827,4 +1831,8 @@ bool wxQueryField::IsDirty(void) {
   return dirty;
 }
 
-#endif // USE_ODBC
+#ifdef _MSC_VER
+    #pragma warning(default:4706)   // assignment within conditional expression
+#endif // VC++
+
+#endif // wxUSE_ODBC