Check for wxUSE_MEDIACTRL dependency on wxUSE_LONLONG.

wxMediaCtrl requires wxLongLong, so check that wxUSE_LONLONG 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 0091246427
commit 2e26d30bcc

View File

@@ -2247,6 +2247,17 @@
# endif # endif
#endif /* wxUSE_PREFERENCES_EDITOR */ #endif /* wxUSE_PREFERENCES_EDITOR */
#if wxUSE_MEDIACTRL
# if !wxUSE_LONGLONG
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxMediaCtrl requires wxUSE_LONLONG"
# else
# undef wxUSE_LONLONG
# define wxUSE_LONLONG 1
# endif
# endif
#endif /* wxUSE_MEDIACTRL */
#endif /* wxUSE_GUI */ #endif /* wxUSE_GUI */
#endif /* _WX_CHKCONF_H_ */ #endif /* _WX_CHKCONF_H_ */