]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/pgmctrl.h
Added VC++ project files (seems logical)
[wxWidgets.git] / demos / dbbrowse / pgmctrl.h
index b528e2674191b004d8a849f224024ba2cd875e44..1910929d7f69ce879f24e76f3258d25b47586364 100644 (file)
@@ -8,7 +8,7 @@
 // Copyright:   (c) Mark Johnson, Berlin Germany, mj10777@gmx.net
 // Licence:     wxWindows license
 //----------------------------------------------------------------------------------------
-class mjDoc;               // Declared in doc.h file
+class MainDoc;             // Declared in doc.h file
 //----------------------------------------------------------------------------------------
 class TreeData : public wxTreeItemData
 {
@@ -37,7 +37,7 @@ class PgmCtrl : public wxTreeCtrl
   PgmCtrl(wxWindow *parent);
   PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size,long style);
   virtual ~PgmCtrl();
-  mjDoc *pDoc;
+  MainDoc *pDoc;
 //----------------------------------------------------------------------------------------
   int i_TabArt;   // Tab = 0 ; Page = 1;
   int i_ViewNr;   // View Nummer in Tab / Page
@@ -49,10 +49,10 @@ class PgmCtrl : public wxTreeCtrl
 //----------------------------------------------------------------------------------------
  public:
   int  OnPopulate();
-  void OnSelChanged(wxTreeEvent& event);
+  void OnSelChanged(wxMouseEvent& event);
   void OnRightSelect(wxTreeEvent& event);
   void OnMouseMove(wxMouseEvent& event);
-  void OnUserPassword();
+  void OnUserPassword(wxCommandEvent& event);
 
  public:
 //----------------------------------------------------------------------------------------