X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..6c905cb7fdc856317f1e1db9c6d6aaa93c67920c:/src/common/odbc.cpp diff --git a/src/common/odbc.cpp b/src/common/odbc.cpp index 84b145c36f..576ee3a487 100644 --- a/src/common/odbc.cpp +++ b/src/common/odbc.cpp @@ -25,6 +25,10 @@ #if wxUSE_ODBC +#ifdef _MSC_VER + #pragma warning(disable:4706) // assignment within conditional expression +#endif // VC++ + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/dialog.h" @@ -1827,4 +1831,8 @@ bool wxQueryField::IsDirty(void) { return dirty; } +#ifdef _MSC_VER + #pragma warning(default:4706) // assignment within conditional expression +#endif // VC++ + #endif // wxUSE_ODBC