summaryrefslogtreecommitdiff
path: root/support/dktools/wximgsz.h
blob: baabc2f3a6af69ff8962b223de6b8d29d6db968e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

#ifndef WXIMGSZ_H_INCLUDED
/** Protection against multiple inclusion. */
#define	WXIMGSZ_H_INCLUDED	1

#ifdef	DK3_USE_WX
#undef	DK3_USE_WX
#endif
/**	Use wxWidgets libraries to build GUI programs.
*/
#define	DK3_USE_WX	1

#include <dk3all.h>

#if 0
#include <dk3sock.h>
#endif

#if 0
#include <dkt-version.h>
#endif

#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/config.h>
#include <wx/filename.h>
#include <wx/gbsizer.h>
#include <wx/thread.h>
#include <wx/gauge.h>
#include <wx/help.h>
#include <wx/fs_zip.h>
#include <wx/cmdline.h>
#include <wx/grid.h>
#include <wx/version.h>

#include "dk3wxs.h"
#include "dk4verswx.h"

#include "DkWxAppHelper.h"
#include "DkWxFrame.h"
#include "DkWxCommunicator.h"
#include "DkWxProgressDialog.h"
#include "DkWxHelpController.h"

#include "DkWxImgszApp.h"
#include "DkWxImgszFrame.h"
#include "DkWxImgszOptionsDialog.h"

/**	Event ID:	Exit application.
*/
#define	DkWxImgsz_Quit		wxID_EXIT

/**	Event ID:	Show about dialog box.
*/
#define	DkWxImgsz_About		wxID_ABOUT

/**	Event ID:	Main window ID.
*/
#define	DkWxImgsz_MainWindow	(wxID_HIGHEST + 1)

/**	Event ID:	Open help contents.
*/
#define	DkWxImgsz_Help		(DkWxImgsz_MainWindow + 1)

/**	Event ID:	Start calculation.
*/
#define	DkWxImgsz_Run		(DkWxImgsz_Help + 1)

/**	Choice in the action was made.
*/
#define	DkWxImgsz_Choice	(DkWxImgsz_Run + 1)

/**	Event ID:	Extras -> Options.
*/
#define	DkWxImgsz_Options	(DkWxImgsz_Choice + 1)

/**	Event ID:	Open file.
*/
#define	DkWxImgsz_Open		(DkWxImgsz_Options + 1)
#endif