19
|
1 // Filename : dirview.h
|
38
|
2 // Last Change: 24-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:
|
|
14
|
|
15 protected:
|
38
|
16 wxListCtrl* m_listCtrl;
|
|
17 wxButton* m_buttonExplorer;
|
|
18 wxButton* m_buttonClose;
|
19
|
19
|
|
20 public:
|
38
|
21 wxString m_dir;
|
19
|
22
|
38
|
23 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
|
24 ~DirViewFrame();
|
|
25
|
38
|
26 void OnExplorer(wxCommandEvent& event);
|
|
27 void OnClose(wxCommandEvent& event);
|
|
28 void LoadListImage( void );
|
19
|
29 };
|
|
30
|
|
31 #endif //__dirview__
|
|
32
|