Check for wxUSE_STC dependency on wxUSE_STOPWATCH.

wxStyledTextCtrl requires wxStopWatch, so check that wxUSE_STOPWATCH is set if
wxUSE_MEDIACTRL is.

See #16939.
This commit is contained in:
Artur Wieczorek 2015-04-05 10:16:42 +02:00 committed by Vadim Zeitlin
parent 2e26d30bcc
commit 93b9126fe5

View File

@ -2258,6 +2258,17 @@
# endif
#endif /* wxUSE_MEDIACTRL */
#if wxUSE_STC
# if !wxUSE_STOPWATCH
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxStyledTextCtrl requires wxUSE_STOPWATCH"
# else
# undef wxUSE_STC
# define wxUSE_STC 0
# endif
# endif
#endif /* wxUSE_STC */
#endif /* wxUSE_GUI */
#endif /* _WX_CHKCONF_H_ */