Fix build with wxUSE_VARIANT==0
wxPropertyGrid and wxRichTextCtlr depend on wxVariant.
This commit is contained in:
parent
fe0d81a376
commit
6898abf8d6
@ -2373,8 +2373,27 @@
|
||||
# define wxUSE_LONLONG 1
|
||||
# endif
|
||||
# endif
|
||||
# if !wxUSE_VARIANT
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxRichTextCtrl requires wxUSE_VARIANT"
|
||||
# else
|
||||
# undef wxUSE_VARIANT
|
||||
# define wxUSE_VARIANT 1
|
||||
# endif
|
||||
# endif
|
||||
#endif /* wxUSE_RICHTEXT */
|
||||
|
||||
#if wxUSE_PROPGRID
|
||||
# if !wxUSE_VARIANT
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxPropertyGrid requires wxUSE_VARIANT"
|
||||
# else
|
||||
# undef wxUSE_VARIANT
|
||||
# define wxUSE_VARIANT 1
|
||||
# endif
|
||||
# endif
|
||||
#endif /* wxUSE_PROPGRID */
|
||||
|
||||
#endif /* wxUSE_GUI */
|
||||
|
||||
#endif /* _WX_CHKCONF_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user