::Initialize() methods added to the helper classes
Changed wxT("") to wxEmptyString everywhere git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -102,7 +102,32 @@ ULONG lastTableID = 0;
|
||||
#endif
|
||||
|
||||
|
||||
/********** wxDbTable::wxDbTable() **********/
|
||||
/********** wxDbColDef::wxDbColDef() Constructor **********/
|
||||
wxDbColDef::wxDbColDef()
|
||||
{
|
||||
Initialize();
|
||||
} // Constructor
|
||||
|
||||
|
||||
bool wxDbColDef::Initialize()
|
||||
{
|
||||
ColName[0] = 0;
|
||||
DbDataType = DB_DATA_TYPE_INTEGER;
|
||||
SqlCtype = SQL_C_LONG;
|
||||
PtrDataObj = NULL;
|
||||
SzDataObj = 0;
|
||||
KeyField = FALSE;
|
||||
Updateable = FALSE;
|
||||
InsertAllowed = FALSE;
|
||||
DerivedCol = FALSE;
|
||||
CbValue = 0;
|
||||
Null = FALSE;
|
||||
|
||||
return TRUE;
|
||||
} // wxDbColDef::Initialize()
|
||||
|
||||
|
||||
/********** wxDbTable::wxDbTable() Constructor **********/
|
||||
wxDbTable::wxDbTable(wxDb *pwxDb, const wxString &tblName, const int nCols,
|
||||
const wxString &qryTblName, bool qryOnly, const wxString &tblPath)
|
||||
{
|
||||
|
Reference in New Issue
Block a user