]> git.saurik.com Git - wxWidgets.git/commitdiff
Add new ADD_RAW_IID OLE helper macro to allow use with classes that do not start...
authorSteve Lamerton <steve.lamerton@gmail.com>
Thu, 22 Dec 2011 19:14:58 +0000 (19:14 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Thu, 22 Dec 2011 19:14:58 +0000 (19:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/ole/oleutils.h

index 87d68c4926bd0abc88f87471fa80a7e5ef7850d0..32abb05d86e47d1a4e53b8ef943ccacff70a141b 100644 (file)
@@ -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