]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/dbtree.h
Added wxDbTable::SetOrderByColNums() function
[wxWidgets.git] / demos / dbbrowse / dbtree.h
index b7631fde6619fb0d3ee2fc01d846f8d69bdc4050..0ed916390d922fe6243ffe2d988b37244aa64652 100644 (file)
@@ -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: