X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c92b0f9abd8348df6c43e69e66cc428fb9aac59c..38cfbffa153c8835025b4207faaf0a12b0b53e6f:/demos/dbbrowse/dbtree.h diff --git a/demos/dbbrowse/dbtree.h b/demos/dbbrowse/dbtree.h index b7631fde66..0ed916390d 100644 --- a/demos/dbbrowse/dbtree.h +++ b/demos/dbbrowse/dbtree.h @@ -8,7 +8,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -class mjDoc; // Declared in Doc.h file +class MainDoc; // Declared in Doc.h file //---------------------------------------------------------------------------------------- class DBTreeData : public wxTreeItemData { @@ -42,7 +42,7 @@ class DBTree : public wxTreeCtrl DBTree(wxWindow *parent); DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size,long style); virtual ~DBTree(); - mjDoc *pDoc; + MainDoc *pDoc; wxDbInf *ct_BrowserDB; //---------------------------------------------------------------------------------------- int i_TabArt; // Tab = 0 ; Page = 1; @@ -59,10 +59,10 @@ class DBTree : public wxTreeCtrl int OnPopulate(); void OnSelChanged(wxTreeEvent& event); void OnRightSelect(wxTreeEvent& event); - void OnDBGrid(wxMenu& menu, wxCommandEvent& event); - void OnDBClass(wxMenu& menu, wxCommandEvent& event); - void OnTableClass(wxMenu& menu, wxCommandEvent& event); - void OnTableClassAll(wxMenu& menu, wxCommandEvent& event); + void OnDBGrid(wxCommandEvent& event); + void OnDBClass(wxCommandEvent& event); + void OnTableClass(wxCommandEvent& event); + void OnTableClassAll(wxCommandEvent& event); void OnMouseEvent(wxMouseEvent& event); void OnMouseMove(wxMouseEvent& event); public: