diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 4fa7561b9c..657baf4c81 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -282,6 +282,14 @@ # endif #endif /* !defined(wxUSE_SECRETSTORE) */ +#ifndef wxUSE_SPELLCHECK +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SPELLCHECK must be defined, please read comment near the top of this file." +# else +# define wxUSE_SPELLCHECK 1 +# endif +#endif /* !defined(wxUSE_SPELLCHECK) */ + #ifndef wxUSE_STDPATHS # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."