X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c27be5db0bf33b6784cf4438554cac90c04be8fd..553c5bcc3ab65e8b8a002dc6d5f51cba4f39292c:/include/wx/db.h diff --git a/include/wx/db.h b/include/wx/db.h index 8bff95b46e..58843cf23e 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -77,7 +77,7 @@ #include "sqlext.h" #include "odbcinst.h" #else - #if defined(__WINDOWS__) && defined(HAVE_W32API_H) + #if defined(__WINDOWS__) && ( defined(HAVE_W32API_H) || defined(__BORLANDC__) ) #include #include "wx/msw/winundef.h" #endif @@ -491,7 +491,7 @@ private: wxDBMS dbmsType; // Type of datasource - i.e. Oracle, dBase, SQLServer, etc // Private member functions - bool getDbInfo(void); + bool getDbInfo(bool failOnDataTypeUnsupported = TRUE); bool getDataTypeInfo(SWORD fSqlType, wxDbSqlTypeInfo &structSQLTypeInfo); bool setConnectionOptions(void); void logError(const wxString &errMsg, const wxString &SQLState);