X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d73ae65656793cc988fd95a56beb02a82fd1736b..11d1f1599cea954c43049818f3620e810e6ac11e:/demos/dbbrowse/browsedb.cpp?ds=sidebyside diff --git a/demos/dbbrowse/browsedb.cpp b/demos/dbbrowse/browsedb.cpp index 2efb669766..813beeb8dd 100644 --- a/demos/dbbrowse/browsedb.cpp +++ b/demos/dbbrowse/browsedb.cpp @@ -376,7 +376,7 @@ bool BrowserDB::OnSelect(wxString tb_Name, int Quiet) return false; } //--------------------------------------------------------------------------------------- - // SetColDefs ( 0,"NAME",DB_DATA_TYPE_VARCHAR,Name,SQL_C_CHAR,sizeof(Name),true,true); // Primary index + // SetColDefs ( 0, "NAME", DB_DATA_TYPE_VARCHAR, Name, SQL_C_WXCHAR, sizeof(Name), true, true); // Primary index //--------------------------------------------------------------------------------------- if (!Quiet) { @@ -431,7 +431,7 @@ wxDbColInf* BrowserDB::OnGetColumns(wxChar *tableName, UWORD numCols, int WXUNUS (cl_BrowserDB+i)->pColFor->Format(1, (cl_BrowserDB+i)->dbDataType, (cl_BrowserDB+i)->sqlDataType, - (cl_BrowserDB+i)->columnSize, + (cl_BrowserDB+i)->columnLength, (cl_BrowserDB+i)->decimalDigits); } return cl_BrowserDB;