From f75fc92e11a2b6e71906887ef9d0622934294788 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Thu, 10 Feb 2000 16:53:59 +0000 Subject: [PATCH] dbgrid.cpp dbtree.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/dbbrowse/dbgrid.cpp | 2 +- demos/dbbrowse/dbtree.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/demos/dbbrowse/dbgrid.cpp b/demos/dbbrowse/dbgrid.cpp index 1cf859b417..f36f771c97 100644 --- a/demos/dbbrowse/dbgrid.cpp +++ b/demos/dbbrowse/dbgrid.cpp @@ -100,7 +100,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 diff --git a/demos/dbbrowse/dbtree.cpp b/demos/dbbrowse/dbtree.cpp index 36837485f5..6b9452b687 100644 --- a/demos/dbbrowse/dbtree.cpp +++ b/demos/dbbrowse/dbtree.cpp @@ -126,8 +126,7 @@ int DBTree::OnPopulate() if (ct_BrowserDB) { // Use the wxDatabase Information Temp0.Printf("%s - (%s) (%s)", s_DSN.c_str(),ct_BrowserDB->catalog, ct_BrowserDB->schema); - // Root = AddRoot(Temp0,TreeIc_DsnOpen,TreeIc_DsnOpen,new DBTreeData("Root")); - Root = AddRoot(Temp0,TreeIc_Smile,TreeIc_Smile,new DBTreeData("Root")); + Root = AddRoot(Temp0,TreeIc_DsnOpen,TreeIc_DsnOpen,new DBTreeData("Root")); for (x=0;xnumTables;x++) { wxYield(); -- 2.45.2