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