Fix building with wxUSE_POPUP==0

This commit is contained in:
Maarten Bent
2020-06-01 15:56:41 +02:00
parent 5fa8280fd8
commit 379cff7d19
3 changed files with 15 additions and 2 deletions

View File

@@ -2392,6 +2392,17 @@
# endif
#endif /* wxUSE_RICHTEXT */
#if wxUSE_RICHTOOLTIP
# if !wxUSE_POPUPWIN
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxRichToolTip requires wxUSE_POPUPWIN"
# else
# undef wxUSE_POPUPWIN
# define wxUSE_POPUPWIN 1
# endif
# endif
#endif /* wxUSE_RICHTOOLTIP */
#if wxUSE_PROPGRID
# if !wxUSE_VARIANT
# ifdef wxABORT_ON_CONFIG_ERROR