diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/WxdkdrawApp.h | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/WxdkdrawApp.h')
-rw-r--r-- | support/dktools/WxdkdrawApp.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/support/dktools/WxdkdrawApp.h b/support/dktools/WxdkdrawApp.h new file mode 100644 index 0000000000..794c03d505 --- /dev/null +++ b/support/dktools/WxdkdrawApp.h @@ -0,0 +1,83 @@ +/* +Copyright (C) 2019-2020, Dirk Krause +SPDX-License-Identifier: BSD-3-Clause +*/ + +/* + WARNING: This file was generated by the dkct program (see + http://dktools.sourceforge.net/ for details). + Changes you make here will be lost if dkct is run again! + You should modify the original source and run dkct on it. + Original source: WxdkdrawApp.cpt +*/ + +#ifndef WXDKDRAWAPP_H_INCLUDED +/** Avoid multiple inclusions. */ +#define WXDKDRAWAPP_H_INCLUDED 1 + + +#line 8 "WxdkdrawApp.cpt" + +/** @file WxdkdrawApp.h The WxdkdrawApp class. +*/ + + + +/** Application class, derived from wxApp, one instance per program. +*/ +class WxdkdrawApp : public wxApp +{ + protected: + + /** Helper object. + */ + Dk4WxApplicationHelper *pAh; + + /** Controller fr online help. + */ +#if 1 + Dk4WxHelpController *pHc; +#endif + + /* __CHANGE__ 009: Add further members here. + */ + + protected: + + /** Show error message if there is not enough memory available. + */ + void + ShowMemoryErrorMessage(void); + + public: + + /** Application initialization. + @return true on success, false on error. + */ + virtual + bool + OnInit(); + + /** Application shutdown. + @return 0 on success, any other value indicates an error. + */ + virtual + int + OnExit(); +}; + + + +/** Declaration as the wxApp object. +*/ +#if wxCHECK_VERSION(3,0,0) +wxDECLARE_APP(WxdkdrawApp); +#else +DECLARE_APP(WxdkdrawApp) +#endif + + + +/* vim: set ai sw=4 ts=4 : */ + +#endif |