]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/oleutils.h
Add new ADD_RAW_IID OLE helper macro to allow use with classes that do not start...
[wxWidgets.git] / 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