]> git.saurik.com Git - wxWidgets.git/commitdiff
dbgrid.cpp dbtree.cpp
authorMark Johnson <mj10777@web.de>
Thu, 10 Feb 2000 16:53:59 +0000 (16:53 +0000)
committerMark Johnson <mj10777@web.de>
Thu, 10 Feb 2000 16:53:59 +0000 (16:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/dbbrowse/dbgrid.cpp
demos/dbbrowse/dbtree.cpp

index 1cf859b41771d4496d50b7a8ffb95283019b0fb7..f36f771c97070a3b310e0fd70b1fdb46fea6bbf5 100644 (file)
@@ -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
index 36837485f5e638551a30b0a5751686af398d39a6..6b9452b687433ac8d2aed19c9344fcbda73bf63b 100644 (file)
@@ -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;x<ct_BrowserDB->numTables;x++)
    {
     wxYield();