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:
parent
472aec2d7e
commit
fd9e420b42
1 changed files with 8 additions and 0 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue