Verify that wxUSE_SPELLCHECK is always defined

Add sanity check for this symbol, as it's done for all the other
wxUSE_XXXs.
This commit is contained in:
Vadim Zeitlin
2021-08-22 21:41:16 +02:00
parent 472aec2d7e
commit fd9e420b42

View File

@@ -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."