// 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
{
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
//----------------------------------------------------------------------------------------
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:
//----------------------------------------------------------------------------------------