git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4438
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DbList WXDLLEXPORT *PtrBegDbList = 0;
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
extern wxList TablesInUse;
#endif
// There should be zero Ctable objects still connected to this db object
assert(nTables == 0);
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
CstructTablesInUse *tiu;
wxNode *pNode;
pNode = TablesInUse.First();
ULONG lastTableID = 0;
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
wxList TablesInUse;
#endif
tableID = ++lastTableID;
sprintf(s, "wxTable constructor (%-20s) tableID:[%6lu] pDb:[%p]", tblName,tableID,pDb);
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
CstructTablesInUse *tableInUse;
tableInUse = new CstructTablesInUse();
tableInUse->tableName = tblName;
pDb->WriteSqlLog(s);
}
-#ifndef PROGRAM_FP4UPG
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
if (tableID)
{
bool found = FALSE;
}
}
#endif
-#endif
+
// Decrement the wxDB table count
if (pDb)
pDb->nTables--;