browsedb.cpp dbgrid.cpp dbtree.cpp dlguser.cpp de/dbbrowse.mo

de/dbbrowse.po de/xget.cfg


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mark Johnson 2000-02-21 12:31:07 +00:00
parent ad288a8990
commit 0068587be2
7 changed files with 850 additions and 882 deletions

View File

@ -154,7 +154,7 @@ bool BrowserDB::OnStartDB(int Quite)
if (!Quite)
{
wxLogMessage(_("\n-E-> BrowserDB::OnConnectDataSource() DB CONNECTION ERROR : Unable to connect to the data source.\n\nCheck the name of your data source to verify it has been correctly entered/spelled.\n\nWith some databases, the user name and password must\nbe created with full rights to the table prior to making a connection\n(using tools provided by the database manufacturer)"));
wxLogMessage(_("-I-> BrowserDB::OnStartDB(%s) : End - Time needed : %ld ms"),ODBCSource.c_str(),sw.Time());
wxLogMessage(_("-I-> BrowserDB::OnStartDB(%s) : End - Time needed : %ld ms"),ODBCSource.c_str(),sw.Time());
}
return FALSE;
}

View File

@ -98,7 +98,7 @@ int DBGrid::OnTableView(wxString Table)
(db_Br+i_Which)->i_Which = ValidTable; // Still used ???? mj10777
if (i == 0) // If the Table is empty, then show one empty row
i++;
// wxLogMessage(_("\n-I-> DBGrid::OnTableView():: Vor CreateGrid"));
// wxLogMessage(_("\n-I-> DBGrid::OnTableView() : Vor CreateGrid"));
CreateGrid(i,(ct_BrowserDB->pTableInf+x)->numCols); // Records , Columns
for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++) // Loop through the Fields
{ // The Field / Column name is used here as Row Titel
@ -128,12 +128,12 @@ int DBGrid::OnTableView(wxString Table)
goto Weiter;
} // if ((ct_BrowserDB->pTableInf+x)->pColInf)
else
wxLogMessage(_("\n-E-> DBGrid::OnTableView():: Invalid Column Pointer : Failed"));
wxLogMessage(_("\n-E-> DBGrid::OnTableView() : Invalid Column Pointer : Failed"));
} // if ((ct_BrowserDB->pTableInf+x)->tableType == "TABLE")
} // for (x=0;x<ct_BrowserDB->numTables;x++)
} // if (ct_BrowserDB)
else
wxLogMessage(_("\n-E-> DBGrid::OnTableView():: Invalid DSN Pointer : Failed"));
wxLogMessage(_("\n-E-> DBGrid::OnTableView() : Invalid DSN Pointer : Failed"));
//---------------------------------------------------------------------------------------
Weiter:
SetEditInPlace(b_EditModus); // Activate in-place Editing (FALSE)

View File

@ -174,8 +174,8 @@ int DBTree::OnPopulate()
else
Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_COL,TreeIc_COL,new DBTreeData(Temp1));
}
SQL_TYPE.Printf(_("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType);
DB_TYPE.Printf(_("DB_DATA_TYPE_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->dbDataType);
SQL_TYPE.Printf("SQL_C_???? (%d)",((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType);
DB_TYPE.Printf("DB_DATA_TYPE_???? (%d)",((ct_BrowserDB->pTableInf+x)->pColInf+y)->dbDataType);
for (i=1;i<=(pDoc->db_Br+i_Which)->i_SqlTyp[0];i++)
{
if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i])

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,16 @@
../BrowserDB.cpp
../BrowserDB.h
../DBBrowser.cpp
../DBBrowser.h
../DBGrid.cpp
../DBGrid.h
../DBTree.cpp
../DBTree.h
../Doc.cpp
../Doc.h
../PgmCtrl.cpp
../PgmCtrl.h
../browsedb.cpp
../browsedb.h
../dbbrowse.cpp
../dbbrowse.h
../dbgrid.cpp
../dbgrid.h
../dbtree.cpp
../dbtree.h
../dlguser.h
../dlguser.cpp
../doc.cpp
../doc.h
../pgmctrl.cpp
../pgmctrl.h
../tabpgwin.cpp
../tabpgwin.h

View File

@ -105,7 +105,7 @@ DlgUser::DlgUser(wxWindow *parent, MainDoc *p_Doc, const wxString& title) :
//----------------------------------------------------------------------------------------
void DlgUser::OnInit()
{
wxString Temp; Temp.Printf(_(">>> %s <<<"),s_DSN.c_str());
wxString Temp; Temp.Printf(">>> %s <<<",s_DSN.c_str());
SetTitle(Temp);
m_UserName->SetLabel(s_User);
m_Password->SetLabel(s_Password);