19
|
1 // Filename : dirview.h
|
40
|
2 // Last Change: 25-Nov-2011.
|
19
|
3 //
|
|
4
|
|
5 #ifndef __dirview__
|
|
6 #define __dirview__
|
|
7
|
|
8 #include "common.h"
|
|
9
|
|
10 class DirViewFrame : public wxFrame
|
|
11 {
|
38
|
12 DECLARE_EVENT_TABLE()
|
19
|
13 private:
|
40
|
14 wxWindow* m_parent;
|
19
|
15
|
|
16 protected:
|
38
|
17 wxListCtrl* m_listCtrl;
|
|
18 wxButton* m_buttonExplorer;
|
|
19 wxButton* m_buttonClose;
|
19
|
20
|
|
21 public:
|
38
|
22 wxString m_dir;
|
19
|
23
|
38
|
24 DirViewFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
|
19
|
25 ~DirViewFrame();
|
|
26
|
38
|
27 void OnExplorer(wxCommandEvent& event);
|
|
28 void OnClose(wxCommandEvent& event);
|
|
29 void LoadListImage( void );
|
19
|
30 };
|
|
31
|
|
32 #endif //__dirview__
|
|
33
|