Lines Matching defs:DBTree
2 // Name: DBTree.cpp/.h
39 BEGIN_EVENT_TABLE(DBTree, wxTreeCtrl)
40 EVT_MOTION (DBTree::OnMouseMove)
41 EVT_TREE_SEL_CHANGED(TREE_CTRL_DB, DBTree::OnSelChanged)
42 EVT_TREE_ITEM_RIGHT_CLICK(TREE_CTRL_DB,DBTree::OnRightSelect)
43 EVT_MENU(DATA_SHOW,DBTree::OnDBGrid)
44 EVT_MENU(DATA_DB,DBTree::OnDBClass)
45 EVT_MENU(DATA_TABLE,DBTree::OnTableClass)
46 EVT_MENU(DATA_TABLE_ALL,DBTree::OnTableClassAll)
49 // DBTree implementation
51 IMPLEMENT_DYNAMIC_CLASS(DBTree, wxTreeCtrl)
54 DBTree::DBTree(wxWindow *parent) : wxTreeCtrl(parent)
59 DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size, long style)
95 DBTree::~DBTree()
100 // wxLogMessage("DBTree::~DBTree() - Vor OnCloseDB()");
102 // wxLogMessage("DBTree::~DBTree() - Nach OnCloseDB()");
118 int DBTree::OnPopulate()
219 Temp0.Printf(_("-I-> DBTree::OnPopulate(%s) - Table %6d (from %d) has been read."),(ct_BrowserDB->pTableInf+x)->tableName,z,ct_BrowserDB->numTables);
230 wxLogMessage(_("\n-E-> DBTree::OnPopulate() : Invalid Catalog Pointer : Failed"));
232 Temp0.Printf(_("-I-> DBTree::OnPopulate() - %6d Tables have been read. - Time needed : %ld ms"),z,sw.Time());
240 wxLogMessage(_("\n-E-> DBTree::OnPopulate() : A valid Pointer could not be created : Failed"));
258 } // DBTree::OnPopulate()
261 void DBTree::OnSelChanged(wxTreeEvent& WXUNUSED(event))
301 LogBuf.Printf("-I-> DBTree::OnSelChanged - %s",Temp0.c_str());
310 void DBTree::OnRightSelect(wxTreeEvent& WXUNUSED(event))
349 LogBuf.Printf("-I-> DBTree::OnSelChanged - %s",Temp0.c_str());
358 void DBTree::OnDBGrid(wxCommandEvent& WXUNUSED(event))
381 void DBTree::OnDBClass(wxCommandEvent& WXUNUSED(event))
395 void DBTree::OnTableClass(wxCommandEvent& WXUNUSED(event))
417 void DBTree::OnTableClassAll(wxCommandEvent& WXUNUSED(event))
431 void DBTree::OnMouseMove(wxMouseEvent &event)