]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
fixed wxRegion::Offset() to not modify the shared regions
[wxWidgets.git] / include / wx / db.h
index cc2c1d84e8e1f1f3c5c465a449ca519ed7bb0e93..892e3d609151e644c609f82850472a9c25c76ef3 100644 (file)
@@ -57,7 +57,6 @@
 #include "wx/defs.h"
 #include "wx/string.h"
 
-extern "C" {
 #ifdef __VISUALC__
 // include standard Windows headers
 #if defined(__WXMSW__) && !wxUSE_MFC
@@ -79,10 +78,12 @@ extern "C" {
     #include "sqlext.h"
     #include "odbcinst.h"
 #else
+extern "C" {
     #include "wx/isql.h"
     #include "wx/isqlext.h"
-#endif
 }
+#endif
+
 
 typedef float SFLOAT;
 typedef double SDOUBLE;
@@ -706,8 +707,10 @@ int   WXDLLEXPORT  wxDbConnectionsInUse(void);
 
 // Writes a message to the wxLog window (stdout usually) when an internal error
 // situation occurs.  This function only works in DEBUG builds
-const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb,
-                                                  wxChar *ErrFile, int ErrLine);
+const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText,
+                                                  wxDb *pDb,
+                                                  const wxChar *ErrFile,
+                                                  int ErrLine);
 
 
 // This function sets the sql log state for all open wxDb objects