]> git.saurik.com Git - wxWidgets.git/commitdiff
Match EscapeSqlChars() interface.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 30 Oct 2006 13:29:46 +0000 (13:29 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 30 Oct 2006 13:29:46 +0000 (13:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dbtable.cpp

index dd882392480a0601002c2a198d171d75b63285f2..4d8f113e6c10f560d8ec981503aeb7c128591b69 100644 (file)
@@ -1308,7 +1308,7 @@ void wxDbTable::BuildWhereClause(wxString &pWhereClause, int typeOfWhere,
                 case SQL_C_WCHAR:
 #endif
                 //case SQL_C_WXCHAR:  SQL_C_WXCHAR is covered by either SQL_C_CHAR or SQL_C_WCHAR
-                    colValue.Printf(wxT("'%s'"), GetDb()->EscapeSqlChars((UCHAR FAR *)colDefs[colNumber].PtrDataObj).c_str());
+                    colValue.Printf(wxT("'%s'"), GetDb()->EscapeSqlChars((wxChar *)colDefs[colNumber].PtrDataObj).c_str());
                     break;
                 case SQL_C_SHORT:
                 case SQL_C_SSHORT: