]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
added wxGetCCDefaultFont() returning the default icon font
[wxWidgets.git] / include / wx / db.h
index 8bff95b46e676aeb55a9d9733e8a0699fcd577e9..58843cf23e399cf73e1de1760327427dfb5926d4 100644 (file)
@@ -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 <windows.h>
         #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);