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:
parent
2e26d30bcc
commit
93b9126fe5
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user