0
|
1 // Filename : hist.h
|
2
|
2 // Last Change: 13-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:
|
2
|
13 wxString m_hhsno;
|
0
|
14
|
|
15 protected:
|
|
16 wxListCtrl* m_listCtrl;
|
|
17 wxButton* m_buttonCancel;
|
|
18 wxButton* m_buttonSet;
|
|
19
|
|
20 public:
|
|
21
|
|
22 HistDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
|
|
23 ~HistDialog();
|
|
24
|
2
|
25 void OnSelectItem( wxListEvent& event );
|
1
|
26 void OnSet( wxCommandEvent& WXUNUSED(event) );
|
|
27 void ReadHistoryList( void );
|
2
|
28
|
|
29 // Accessor
|
|
30 wxString GetHhsNo() const { return m_hhsno; }
|
0
|
31 };
|
|
32
|
|
33 enum
|
|
34 {
|
|
35 ID_LISTHIST = wxID_HIGHEST + 30,
|
1
|
36 ID_SETHIST,
|
0
|
37 };
|
|
38
|
|
39
|
|
40 #endif //__HIST_H__
|
|
41
|