- public:
- enum
- { // The order here must be the same as in m_imageListNormal !
- TreeIc_Logo, // logo.ico
- TreeIc_DsnClosed, // dsnclose.ico
- TreeIc_DsnOpen, // dsnopen.ico
- TreeIc_DocClosed, // d_closed.ico
- TreeIc_DocOpen, // d_open.ico
- TreeIc_FolderClosed, // f_closed.ico
- TreeIc_FolderOpen // f_open.ico
- };
- wxString Temp0, Temp1, Temp2, Temp3, Temp4, Temp5;
-//----------------------------------------------------------------------------------------
- PgmCtrl() { }
- PgmCtrl(wxWindow *parent);
- PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size,long style);
- virtual ~PgmCtrl();
- MainDoc *pDoc;
-//----------------------------------------------------------------------------------------
- int i_TabArt; // Tab = 0 ; Page = 1;
- int i_ViewNr; // View Nummer in Tab / Page
-//----------------------------------------------------------------------------------------
- wxImageList *p_imageListNormal;
- wxMenu *popupMenu1; // OnDBClass
- wxPoint TreePos;
- wxString SaveDSN; // Needed for User and Password
-//----------------------------------------------------------------------------------------
- public:
- int OnPopulate();
- void OnSelChanged(wxTreeEvent& event);
- void OnRightSelect(wxTreeEvent& event);
- void OnMouseMove(wxMouseEvent& event);
- void OnUserPassword();
+public:
+ enum
+ { // The order here must be the same as in m_imageListNormal !
+ TreeIc_Logo, // logo.ico
+ TreeIc_DsnClosed, // dsnclose.ico
+ TreeIc_DsnOpen, // dsnopen.ico
+ TreeIc_DocClosed, // d_closed.ico
+ TreeIc_DocOpen, // d_open.ico
+ TreeIc_FolderClosed, // f_closed.ico
+ TreeIc_FolderOpen // f_open.ico
+ };
+ wxString Temp0, Temp1, Temp2, Temp3, Temp4, Temp5;
+ //----------------------------------------------------------------------------------------
+ PgmCtrl() { }
+ PgmCtrl(wxWindow *parent);
+ PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const wxSize& size,long style);
+ virtual ~PgmCtrl();
+ MainDoc *pDoc;
+ //----------------------------------------------------------------------------------------
+ int i_TabArt; // Tab = 0 ; Page = 1;
+ int i_ViewNr; // View Nummer in Tab / Page
+ //----------------------------------------------------------------------------------------
+ wxImageList *p_imageListNormal;
+ wxMenu *popupMenu1; // OnDBClass
+ wxPoint TreePos;
+ wxString SaveDSN; // Needed for User and Password
+ //----------------------------------------------------------------------------------------
+public:
+ int OnPopulate();
+ void OnSelChanged(wxMouseEvent& event);
+ void OnRightSelect(wxTreeEvent& event);
+ void OnMouseMove(wxMouseEvent& event);
+ void OnUserPassword(wxCommandEvent& event);