Compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
@@ -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();
|
||||||
|
Reference in New Issue
Block a user