From: Steve Lamerton Date: Thu, 22 Dec 2011 19:14:58 +0000 (+0000) Subject: Add new ADD_RAW_IID OLE helper macro to allow use with classes that do not start... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b4ed3c942e35793753a92317da259eb0706df34 Add new ADD_RAW_IID OLE helper macro to allow use with classes that do not start with IID_I. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index 87d68c4926..32abb05d86 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -143,6 +143,7 @@ private: // NB: you should write ADD_INTERFACE(Foo) and not ADD_INTERFACE(IID_IFoo)! #define BEGIN_IID_TABLE(cname) const IID *cname::ms_aIids[] = { #define ADD_IID(iid) &IID_I##iid, +#define ADD_RAW_IID(iid) &::iid, #define END_IID_TABLE } // implementation is as straightforward as possible