19
|
1 // Filename : ccnframe.h
|
22
|
2 // Last Change: 26-Jul-2011.
|
19
|
3 //
|
|
4
|
21
|
5 #ifndef __CCNFRAME__
|
|
6 #define __CCNFRAME__
|
19
|
7 #include "wx/wxprec.h"
|
|
8
|
|
9 #ifndef WX_PRECOMP
|
|
10 #include "wx/wx.h"
|
|
11 #include <wx/listctrl.h>
|
|
12 #include <wx/sizer.h>
|
|
13 #include <wx/button.h>
|
|
14 #include <wx/datectrl.h>
|
|
15 #include <wx/gbsizer.h>
|
21
|
16 #include "wx/dir.h"
|
|
17 #include "wx/regex.h"
|
|
18 #include "wx/progdlg.h"
|
|
19 #include "wx/stdpaths.h"
|
19
|
20 #endif
|
|
21
|
|
22 ///////////////////////////////////////////////////////////////////////////
|
|
23
|
|
24 ///////////////////////////////////////////////////////////////////////////////
|
|
25 /// Class FrameCcn
|
|
26 ///////////////////////////////////////////////////////////////////////////////
|
|
27 class FrameCcn : public wxFrame
|
|
28 {
|
|
29 DECLARE_EVENT_TABLE()
|
|
30 private:
|
|
31 wxPanel* m_Panel;
|
|
32 wxStaticText* m_staticText1;
|
|
33 wxStaticText* m_staticText2;
|
|
34 wxStaticText* m_staticText3;
|
|
35 wxListCtrl* m_listCtrlYmd;
|
|
36 wxStaticText* m_staticText4;
|
|
37 wxListCtrl* m_listCtrlCcn;
|
|
38 wxStaticText* m_staticText5;
|
|
39 wxListCtrl* m_listCtrlHhs;
|
|
40 wxButton* m_btnClose;
|
|
41
|
|
42 public:
|
|
43 FrameCcn( wxWindow* parent, wxWindowID id = ID_FRAMECCN, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxFRAME_NO_TASKBAR|wxCAPTION|wxCLOSE_BOX|wxRESIZE_BORDER|wxSTAY_ON_TOP|wxTAB_TRAVERSAL );
|
|
44 ~FrameCcn();
|
|
45
|
|
46 void InitListCtrl(void);
|
21
|
47
|
|
48 void OnSelectYmd(wxListEvent&);
|
|
49 void OnSelectCcn(wxListEvent&);
|
|
50 void OnClose(wxCommandEvent&);
|
19
|
51 };
|
|
52
|
21
|
53 #endif //__CCNFRAME__
|
19
|
54
|