0
|
1 // Filename : common.h
|
19
|
2 // Last Change: 24-Oct-2011.
|
0
|
3 //
|
|
4 #ifndef __COMMON__
|
|
5 #define __COMMON__
|
|
6
|
|
7 #include "wx/wxprec.h"
|
|
8
|
|
9 #ifndef WX_PRECOMP
|
2
|
10 #include <wx/wx.h>
|
0
|
11 #include <wx/icon.h>
|
2
|
12 #include <wx/splash.h>
|
1
|
13 #include <wx/imaglist.h>
|
0
|
14 #include <wx/dir.h>
|
|
15 #include <wx/menu.h>
|
|
16 #include <wx/string.h>
|
|
17 #include <wx/statusbr.h>
|
6
|
18 #include <wx/dnd.h>
|
0
|
19 #include <wx/stattext.h>
|
|
20 #include <wx/button.h>
|
|
21 #include <wx/datectrl.h>
|
|
22 #include <wx/dateevt.h>
|
|
23 #include <wx/textctrl.h>
|
|
24 #include <wx/filepicker.h>
|
|
25 #include <wx/filename.h>
|
|
26 #include <wx/listctrl.h>
|
|
27 #include <wx/dir.h>
|
|
28 #include <wx/file.h>
|
|
29 #include <wx/tokenzr.h>
|
|
30 #include <wx/stdpaths.h>
|
|
31 #include <wx/sizer.h>
|
|
32 #include <wx/combobox.h>
|
|
33 #include <wx/progdlg.h>
|
|
34 #include <wx/frame.h>
|
11
|
35 #include <wx/textfile.h>
|
0
|
36 #endif
|
|
37
|
|
38 enum {
|
|
39 // mainframe
|
|
40 ID_MAIN = wxID_HIGHEST + 1,
|
|
41 ID_TEST,
|
|
42
|
|
43 ID_MENUBARFILE,
|
|
44 ID_MENUITEMPARAM,
|
|
45 ID_MENUITEMAPPDIR,
|
|
46 ID_MENUITEMQUIT,
|
|
47
|
8
|
48 ID_BUTTONNEXTTHU,
|
0
|
49 ID_BUTTONMKDIR,
|
|
50 ID_TEXTCTRLDIST,
|
|
51 ID_TEXTCTRLGUESS,
|
|
52 ID_LISTCTRLVIEW,
|
|
53
|
1
|
54 ID_BUTTONDETECT,
|
0
|
55 ID_BUTTONMOVE,
|
|
56 ID_BUTTONDEL,
|
|
57 ID_BUTTONUNDO,
|
|
58
|
11
|
59 ID_TIMER,
|
|
60
|
0
|
61 // param
|
11
|
62
|
19
|
63 // dirview
|
|
64 ID_LISTCTRLALL,
|
|
65 ID_LISTCTRLTHUMB,
|
|
66 ID_BITMAPPREVIEW,
|
0
|
67 };
|
12
|
68
|
|
69 #if defined(__WXMSW__)
|
|
70 #define MOVECMD wxT("move")
|
|
71 #else
|
|
72 #define MOVECMD wxT("mv")
|
|
73 #endif
|
|
74
|
0
|
75 #endif // __COMMON__
|
|
76
|