]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
moved the rest of XPMs to /art
[wxWidgets.git] / include / wx / db.h
index 5216709500e925e33b5cdc13cc1a66b69b83f7c3..a781b94cc33eeb4bd7a9f78c58d2543cc0e20a8d 100644 (file)
@@ -591,7 +591,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);