Compile fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-02-26 12:45:06 +00:00
parent d147774515
commit 0efe4a9855
2 changed files with 4 additions and 2 deletions

View File

@@ -61,6 +61,7 @@
#include "wx/list.h" #include "wx/list.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"
#include "wx/log.h"
#endif #endif
#include "wx/filefn.h" #include "wx/filefn.h"
#include "wx/wxchar.h" #include "wx/wxchar.h"
@@ -897,7 +898,7 @@ void wxDB::Close(void)
{ {
s.sprintf("(%-20s) tableID:[%6lu] pDb:[%p]", tiu->tableName,tiu->tableID,tiu->pDb); s.sprintf("(%-20s) tableID:[%6lu] pDb:[%p]", tiu->tableName,tiu->tableID,tiu->pDb);
s2.sprintf("Orphaned found using pDb:[%p]",this); s2.sprintf("Orphaned found using pDb:[%p]",this);
wxLogDebug (s,s2); wxLogDebug (s.c_str(),s2.c_str());
} }
pNode = pNode->Next(); pNode = pNode->Next();
} }

View File

@@ -55,6 +55,7 @@
#include "wx/list.h" #include "wx/list.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"
#include "wx/log.h"
#endif #endif
#include "wx/filefn.h" #include "wx/filefn.h"
#endif #endif
@@ -266,7 +267,7 @@ wxTable::~wxTable()
{ {
found = TRUE; found = TRUE;
if (!TablesInUse.DeleteNode(pNode)) if (!TablesInUse.DeleteNode(pNode))
wxLogDebug (s.GetData(),"Unable to delete node!"); wxLogDebug (s.c_str(),"Unable to delete node!");
} }
else else
pNode = pNode->Next(); pNode = pNode->Next();