From: Vadim Zeitlin Date: Sun, 8 Oct 2006 00:59:09 +0000 (+0000) Subject: added wxUSE_ABOUTDLG X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9211cf3c4304902bffc1a65ab22d60290df661bd added wxUSE_ABOUTDLG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index a7038ab7e2..39a66b6c4e 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -312,6 +312,14 @@ preprocessor about invalid integer expression */ +#ifndef wxUSE_ABOUTDLG +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_ABOUTDLG must be defined." +# else +# define wxUSE_ABOUTDLG 0 +# endif +#endif /* !defined(wxUSE_ABOUTDLG) */ + #ifndef wxUSE_ACCEL # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_ACCEL must be defined." diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index 5a29f354e5..4fccfe72ad 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -902,6 +902,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ---------------------------------------------------------------------------- diff --git a/include/wx/motif/setup0.h b/include/wx/motif/setup0.h index a90e2468b1..a3f504e652 100644 --- a/include/wx/motif/setup0.h +++ b/include/wx/motif/setup0.h @@ -901,6 +901,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index e50b5a727f..0d621a8264 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -901,6 +901,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index f4b472cb40..f0a7be223e 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -901,6 +901,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ---------------------------------------------------------------------------- diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index d03b6e30dc..a6a0134bf4 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -901,6 +901,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ---------------------------------------------------------------------------- diff --git a/include/wx/palmos/setup0.h b/include/wx/palmos/setup0.h index fae3447bb5..a27aa189b7 100644 --- a/include/wx/palmos/setup0.h +++ b/include/wx/palmos/setup0.h @@ -901,6 +901,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ---------------------------------------------------------------------------- diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index 1f062009d9..36be4c6e6e 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -897,6 +897,14 @@ // wizards #define wxUSE_WIZARDDLG 1 +// Compile in wxAboutBox() function showing the standard "About" dialog. +// +// Default is 1 +// +// Recommended setting: 1 but can be set to 0 to save some space if you don't +// use this function +#define wxUSE_ABOUTDLG 1 + // ---------------------------------------------------------------------------- // Metafiles support // ----------------------------------------------------------------------------