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:
@@ -282,6 +282,14 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif /* !defined(wxUSE_SECRETSTORE) */
|
#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
|
#ifndef wxUSE_STDPATHS
|
||||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
# error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
|
# error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
|
||||||
|
Reference in New Issue
Block a user