From: George Tasker Date: Sun, 15 Apr 2001 13:06:01 +0000 (+0000) Subject: A couple more 'int' to UWORD conversions X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/21e052699d74ff3443002e515fb30f3a657b105c A couple more 'int' to UWORD conversions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dbtable.h b/include/wx/dbtable.h index 8c51ceb508..5db2af00bb 100644 --- a/include/wx/dbtable.h +++ b/include/wx/dbtable.h @@ -208,7 +208,7 @@ public: bool Open(bool checkPrivileges=FALSE, bool checkTableExists=TRUE); bool CreateTable(bool attemptDrop=TRUE); bool DropTable(void); - bool CreateIndex(const wxString &idxName, bool unique, int noIdxCols, + bool CreateIndex(const wxString &idxName, bool unique, UWORD noIdxCols, wxDbIdxDef *pIdxDefs, bool attemptDrop=TRUE); bool DropIndex(const wxString &idxName); @@ -301,11 +301,11 @@ public: bool SetQueryTimeout(UDWORD nSeconds); wxDbColDef *GetColDefs() { return colDefs; } - void SetColDefs(int index, const wxString &fieldName, int dataType, + void SetColDefs(UWORD index, const wxString &fieldName, int dataType, void *pData, SWORD cType, int size, bool keyField = FALSE, bool upd = TRUE, bool insAllow = TRUE, bool derivedCol = FALSE); - wxDbColDataPtr *SetColDefs(wxDbColInf *colInfs, ULONG numCols); + wxDbColDataPtr *SetColDefs(wxDbColInf *colInfs, UWORD numCols); bool CloseCursor(HSTMT cursor); bool DeleteCursor(HSTMT *hstmtDel);