diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index ef851ee9a4..72c3007f97 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -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 diff --git a/src/msw/rt/notifmsgrt.cpp b/src/msw/rt/notifmsgrt.cpp index ba8e05330e..af5cf3c578 100644 --- a/src/msw/rt/notifmsgrt.cpp +++ b/src/msw/rt/notifmsgrt.cpp @@ -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"