Allow build wxNotificationMessage without OLE support (wxUSE_OLE==0)

WinRT implementation of wxNotificationMessage can be decoupled from OLE
utilities because actually only IUnknown interface implementation is
required.
This commit is contained in:
Artur Wieczorek 2017-05-09 17:05:07 +02:00
parent 8d03282378
commit fc96ef3570
2 changed files with 1 additions and 10 deletions

View File

@ -377,15 +377,6 @@
# 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

View File

@ -25,7 +25,7 @@
#include "wx/msw/rt/utils.h"
#include "wx/msw/private/comptr.h"
#include "wx/msw/wrapshl.h"
#include "wx/msw/ole/oleutils.h"
#include "wx/msw/ole/comimpl.h"
#include "wx/filename.h"
#include "wx/stdpaths.h"