]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / db.h
index 57ec4345f7015779c15317f61a13bb2b43bc9f90..cc2c1d84e8e1f1f3c5c465a449ca519ed7bb0e93 100644 (file)
 
 extern "C" {
 #ifdef __VISUALC__
+// include standard Windows headers
+#if defined(__WXMSW__) && !wxUSE_MFC
+    #ifndef STRICT
+        #define STRICT 1
+    #endif
+
+    #include <windows.h>
+    #include "wx/msw/winundef.h"
+#endif
+
 // If you use the wxDbCreateDataSource() function with MSW/VC6,
 // you cannot use the iODBC headers, you must use the VC headers,
 // plus the odbcinst.h header - gt Nov 2 2000