browsedb.cpp dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4069116a15
commit
5aeda15836
@ -28,9 +28,7 @@
|
|||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
#endif
|
#endif
|
||||||
//----------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------
|
||||||
#include <wx/dbtable.h>
|
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
#include <iostream>
|
|
||||||
//----------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------
|
||||||
// Global structure for holding ODBC connection information
|
// Global structure for holding ODBC connection information
|
||||||
// - darf nur einmal im Projekte definiert werden ?? Extra Databasse Klasse ?
|
// - darf nur einmal im Projekte definiert werden ?? Extra Databasse Klasse ?
|
||||||
@ -122,8 +120,8 @@ bool BrowserDB::OnStartDB(int Quite)
|
|||||||
//---------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------
|
||||||
// Connect to datasource
|
// Connect to datasource
|
||||||
//---------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------
|
||||||
DlgUser *p_Dlg = new DlgUser(pDoc->p_MainFrame,pDoc,"");
|
DlgUser *p_Dlg;
|
||||||
// p_Dlg->pDoc = pDoc;
|
p_Dlg = new DlgUser(pDoc->p_MainFrame,pDoc,"");
|
||||||
p_Dlg->s_DSN = ODBCSource;
|
p_Dlg->s_DSN = ODBCSource;
|
||||||
p_Dlg->s_User = UserName;
|
p_Dlg->s_User = UserName;
|
||||||
p_Dlg->s_Password = Password;
|
p_Dlg->s_Password = Password;
|
||||||
|
@ -213,7 +213,7 @@ int DBTree::OnPopulate()
|
|||||||
else
|
else
|
||||||
wxLogMessage(_("\n-E-> DBTree::OnPopulate() : Invalid Catalog Pointer : Failed"));
|
wxLogMessage(_("\n-E-> DBTree::OnPopulate() : Invalid Catalog Pointer : Failed"));
|
||||||
wxEndBusyCursor();
|
wxEndBusyCursor();
|
||||||
Temp0.Printf(_("-I-> DBTree::OnPopulate(%s) - %6d Tables have been read. - Time needed : %ld ms"),(ct_BrowserDB->pTableInf+x)->tableName,z,sw.Time());
|
Temp0.Printf(_("-I-> DBTree::OnPopulate() - %6d Tables have been read. - Time needed : %ld ms"),z,sw.Time());
|
||||||
wxLogMessage(Temp0);
|
wxLogMessage(Temp0);
|
||||||
pDoc->p_MainFrame->SetStatusText(Temp0, 0);
|
pDoc->p_MainFrame->SetStatusText(Temp0, 0);
|
||||||
} // if((pDoc->db_Br+i_Which)->Initialize(FALSE))
|
} // if((pDoc->db_Br+i_Which)->Initialize(FALSE))
|
||||||
|
Loading…
Reference in New Issue
Block a user