From a2c0a9c5ca19c206b1861a6bdfd83af3dd9398c4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 4 Jul 2001 23:34:44 +0000 Subject: [PATCH] added wxUSE_COLOURDLG setting git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 8 ++++++++ include/wx/msw/setup0.h | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 103cc3fb55..b155362ff0 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -109,6 +109,14 @@ # endif #endif /* !defined(wxUSE_CLIPBOARD) */ +#ifndef wxUSE_COLOURDLG +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_COLOURDLG must be defined." +# else +# define wxUSE_COLOURDLG 0 +# endif +#endif /* !defined(wxUSE_COLOURDLG) */ + #ifndef wxUSE_COMBOBOX # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_COMBOBOX must be defined." diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 0183b6da36..f2d00a8968 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -586,6 +586,13 @@ // Recommended setting: 1 (used in the library itself) #define wxUSE_CHOICEDLG 1 +// Use colour picker dialog +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_COLOURDLG 1 + // wxDirDlg class for getting a directory name from user #define wxUSE_DIRDLG 1 -- 2.45.2