diff options
Diffstat (limited to 'support/dktools/wximgsz.h')
-rw-r--r-- | support/dktools/wximgsz.h | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/support/dktools/wximgsz.h b/support/dktools/wximgsz.h new file mode 100644 index 0000000000..baabc2f3a6 --- /dev/null +++ b/support/dktools/wximgsz.h @@ -0,0 +1,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 + |