"char *" changed to "wxChar *" in several places

"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
This commit is contained in:
George Tasker 2001-11-23 00:42:10 +00:00
parent 1dee6b3992
commit 5bdad317aa
2 changed files with 7 additions and 8 deletions

View 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);

View 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;