]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
added operator-(const wxChar *, const wxCStrData&) to allow compilation of the code...
[wxWidgets.git] / include / wx / db.h
index b7b41c647bd7e641735a41224316449b20230fda..13c882cdea40819be8083b8c0b6e712d8d7bd65a 100644 (file)
@@ -57,7 +57,7 @@
     //#endif
     #include "odbcinst.h"
 #else
-    #if defined(__WINDOWS__) && ( defined(HAVE_W32API_H) || defined(__BORLANDC__) )
+    #if defined(__WINDOWS__) && ( defined(HAVE_W32API_H) || defined(__BORLANDC__)  || defined (__DMC__))
         #include "wx/msw/wrapwin.h"
     #endif
     extern "C" {
@@ -525,7 +525,7 @@ private:
     bool             getDataTypeInfo(SWORD fSqlType, wxDbSqlTypeInfo &structSQLTypeInfo);
     bool             setConnectionOptions(void);
     void             logError(const wxString &errMsg, const wxString &SQLState);
-    const wxChar    *convertUserID(const wxChar *userID, wxString &UserID);
+    void             convertUserID(const wxChar *userID, wxString &UserID);
     bool             determineDataTypes(bool failOnDataTypeUnsupported);
     void             initialize();
     bool             open(bool failOnDataTypeUnsupported=true);