]> git.saurik.com Git - wxWidgets.git/commitdiff
"char *" changed to "wxChar *" in several places
authorGeorge Tasker <gtasker@allenbrook.com>
Fri, 23 Nov 2001 00:42:10 +0000 (00:42 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Fri, 23 Nov 2001 00:42:10 +0000 (00:42 +0000)
"Documentation needed" comments removed as the function(s) are now documented

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/db.h
src/common/db.cpp

index adfbd49b113239574e2992615aca935543df9b6b..57ec4345f7015779c15317f61a13bb2b43bc9f90 100644 (file)
@@ -632,8 +632,8 @@ public:
     // in the table name or column name, the returned string will have the
     // correct enclosing marks around the name to allow it to be properly 
     // included in a SQL statement
-    const wxString  SQLTableName(const char *tableName);
-    const wxString  SQLColumnName(const char *colName);
+    const wxString  SQLTableName(const wxChar *tableName);
+    const wxString  SQLColumnName(const wxChar *colName);
 
     void         LogError(const wxString &errMsg, const wxString &SQLState = wxEmptyString) 
                         { logError(errMsg, SQLState); }
@@ -694,12 +694,11 @@ void  WXDLLEXPORT  wxDbCloseConnections(void);
 int   WXDLLEXPORT  wxDbConnectionsInUse(void);
 
 
-//TODO: document
 // Writes a message to the wxLog window (stdout usually) when an internal error
 // situation occurs.  This function only works in DEBUG builds
 const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb,
-                                                  char *ErrFile, int ErrLine);
-//TODO: end document
+                                                  wxChar *ErrFile, int ErrLine);
+
 
 // This function sets the sql log state for all open wxDb objects
 bool  WXDLLEXPORT  wxDbSqlLog(wxDbSqlLogState state, const wxString &filename = SQL_LOG_FILENAME);
index c3957c35e6eb2067e9ce9d03f9e20de219706b8a..f32276faf062f9380722bbaabbd11af834f1cc7a 100644 (file)
@@ -3272,7 +3272,7 @@ bool wxDb::TablePrivileges(const wxString &tableName, const wxString &priv, cons
 }  // wxDb::TablePrivileges
 
 
-const wxString wxDb::SQLTableName(const char *tableName)
+const wxString wxDb::SQLTableName(const wxChar *tableName)
 {
     wxString TableName;
 
@@ -3286,7 +3286,7 @@ const wxString wxDb::SQLTableName(const char *tableName)
 }  // wxDb::SQLTableName()
 
 
-const wxString wxDb::SQLColumnName(const char *colName)
+const wxString wxDb::SQLColumnName(const wxChar *colName)
 {
     wxString ColName;
 
@@ -3722,7 +3722,7 @@ int WXDLLEXPORT wxDbConnectionsInUse(void)
 /********** wxDbLogExtendedErrorMsg() **********/
 // DEBUG ONLY function
 const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb,
-                             char *ErrFile, int ErrLine)
+                             wxChar *ErrFile, int ErrLine)
 {
     static wxString msg;
     msg = userText;