2 #ifndef _ConfigurationViewer_ValueListCtrl_H
3 #define _ConfigurationViewer_ValueListCtrl_H
5 class ValueListCtrl
: public wxListCtrl
8 ///////////////////////////////////////////
10 ///////////////////////////////////////////
11 ValueListCtrl(wxWindow
* parent
, wxWindowID id
, const wxPoint
& pos
= wxDefaultPosition
,
12 const wxSize
& size
= wxDefaultSize
, long style
= wxLC_ICON
,
13 const wxValidator
& validator
= wxDefaultValidator
,
14 const wxString
& name
= "listCtrl");
15 virtual ~ValueListCtrl();
17 ///////////////////////////////////////////
19 ///////////////////////////////////////////
20 void DisplaySection(const ACE_Configuration_Section_Key
& Key
);
21 long GetSelectedItem();
22 void SelectItem(long ItemID
);
23 void OnRightDown(wxMouseEvent
& event
);
24 void OnModify(wxCommandEvent
& event
);
25 void OnDelete(wxCommandEvent
& event
);
26 void OnRename(wxCommandEvent
& event
);
27 void ChangeConfig(ACE_Configuration
* pConfig
);
28 ///////////////////////////////////////////
29 // Attribute Accessors
30 ///////////////////////////////////////////
34 ValueListCtrl(const ValueListCtrl
& RHS
);
35 const ValueListCtrl
& operator=(const ValueListCtrl
& RHS
);
39 ACE_Configuration
* m_pConfig
;
40 ACE_Configuration_Section_Key m_Key
;