Add message "wxStyledTextCtrl requires wxUSE_SCROLLBAR"

This commit is contained in:
Tim Stahlhut 2018-10-21 21:58:56 -04:00
parent 71a2fc0706
commit caa6e5de2f

View File

@ -2345,6 +2345,15 @@
# define wxUSE_STC 0
# endif
# endif
# if !wxUSE_SCROLLBAR
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxStyledTextCtrl requires wxUSE_SCROLLBAR"
# else
# undef wxUSE_STC
# define wxUSE_STC 0
# endif
# endif
#endif /* wxUSE_STC */
#if wxUSE_RICHTEXT