diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index 5e5b5522cb..585b7182ff 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -372,6 +372,15 @@ # define wxUSE_DRAG_AND_DROP 0 # endif # endif + +# if wxUSE_NOTIFICATION_MESSAGE && wxUSE_WINRT +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_NOTIFICATION_MESSAGE requires wxUSE_OLE" +# else +# undef wxUSE_NOTIFICATION_MESSAGE +# define wxUSE_NOTIFICATION_MESSAGE 0 +# endif +# endif #endif /* !wxUSE_OLE */ #if !wxUSE_ACTIVEX diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 79437947c4..5ba078d3fe 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -1115,7 +1115,7 @@ // // wxNotificationMessage allows to show non-intrusive messages to the user // using balloons, banners, popups or whatever is the appropriate method for -// the current platform. +// the current platform. Requires wxUSE_OLE if wxUSE_WINRT is 1. // // Default is 1. //