X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a77c0d769cdfd3ee57d0f38657d3aa3a465d073..9398120d298d745763f253d87d774be3b134b43f:/include/wx/db.h?ds=inline diff --git a/include/wx/db.h b/include/wx/db.h index 5216709500..16d239a63b 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -77,6 +77,12 @@ #include "sql.h" #include "sqlext.h" #include "odbcinst.h" +#elif defined( __VMS ) +// For OpenVMS use the ones from the library +extern "C" { + #include + #include +} #else extern "C" { #include "wx/isql.h" @@ -591,7 +597,8 @@ public: wxDb(const HENV &aHenv, bool FwdOnlyCursors=(bool)wxODBC_FWD_ONLY_CURSORS); ~wxDb(); - bool Open(const wxString &Dsn, const wxString &Uid, const wxString &AuthStr); // Data Source Name, User ID, Password + // Data Source Name, User ID, Password and whether open should fail on data type not supported + bool Open(const wxString &Dsn, const wxString &Uid, const wxString &AuthStr, bool failOnDataTypeUnsupported=TRUE); bool Open(wxDbConnectInf *dbConnectInf); bool Open(wxDb *copyDb); // pointer to a wxDb whose connection info should be copied rather than re-queried void Close(void);