0
|
1 // Filename : hist.h
|
1
|
2 // Last Change: 02-Aug-2013.
|
0
|
3 //
|
|
4 #ifndef __HIST_H__
|
|
5 #define __HIST_H__
|
|
6
|
|
7 #include "common.h"
|
|
8
|
|
9 class HistDialog : public wxDialog
|
|
10 {
|
|
11 DECLARE_EVENT_TABLE()
|
|
12 private:
|
|
13
|
|
14 protected:
|
|
15 wxListCtrl* m_listCtrl;
|
|
16 wxButton* m_buttonCancel;
|
|
17 wxButton* m_buttonSet;
|
|
18
|
|
19 public:
|
|
20
|
|
21 HistDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
|
|
22 ~HistDialog();
|
|
23
|
1
|
24 void OnSelectItem( wxListEvent& WXUNUSED(event) );
|
|
25 void OnSet( wxCommandEvent& WXUNUSED(event) );
|
|
26 void ReadHistoryList( void );
|
0
|
27 };
|
|
28
|
|
29 enum
|
|
30 {
|
|
31 ID_LISTHIST = wxID_HIGHEST + 30,
|
1
|
32 ID_SETHIST,
|
0
|
33 };
|
|
34
|
|
35
|
|
36 #endif //__HIST_H__
|
|
37
|