]> git.saurik.com Git - wxWidgets.git/commitdiff
dbtree.cpp
authorMark Johnson <mj10777@web.de>
Mon, 14 Feb 2000 11:14:48 +0000 (11:14 +0000)
committerMark Johnson <mj10777@web.de>
Mon, 14 Feb 2000 11:14:48 +0000 (11:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/dbbrowse/dbtree.cpp

index 89d7546c06deda7d540e55fe4bcc0f318165d1f1..65fbf1bef79f479494d49cca2f5899d96f4a5f8b 100644 (file)
@@ -106,7 +106,6 @@ DBTree::~DBTree()
 //----------------------------------------------------------------------------------------
 int  DBTree::OnPopulate()
 {
 //----------------------------------------------------------------------------------------
 int  DBTree::OnPopulate()
 {
- wxStopWatch sw;
  wxTreeItemId Root, Folder, Docu, Funkt;
  int i,x,y,z=0, TableType;
  wxString SQL_TYPE, DB_TYPE;
  wxTreeItemId Root, Folder, Docu, Funkt;
  int i,x,y,z=0, TableType;
  wxString SQL_TYPE, DB_TYPE;
@@ -114,6 +113,7 @@ int  DBTree::OnPopulate()
  //---------------------------------------------------------------------------------------
  if ((pDoc->db_Br+i_Which)->Initialize(FALSE))
  {
  //---------------------------------------------------------------------------------------
  if ((pDoc->db_Br+i_Which)->Initialize(FALSE))
  {
+  wxStopWatch sw;
   wxBeginBusyCursor();
   ct_BrowserDB = (pDoc->db_Br+i_Which)->OnGetCatalog(FALSE);
   if (ct_BrowserDB)
   wxBeginBusyCursor();
   ct_BrowserDB = (pDoc->db_Br+i_Which)->OnGetCatalog(FALSE);
   if (ct_BrowserDB)