]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix typo in ADD_RAW_IID macro.
authorSteve Lamerton <steve.lamerton@gmail.com>
Sat, 24 Dec 2011 10:05:31 +0000 (10:05 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Sat, 24 Dec 2011 10:05:31 +0000 (10:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/ole/oleutils.h

index 32abb05d86e47d1a4e53b8ef943ccacff70a141b..8fb4279eae17a2e055e7b1eb24d0522f4e789bee 100644 (file)
@@ -140,10 +140,10 @@ private:
     wxAutoULong           m_cRef
 
 // macros for declaring supported interfaces
-// NB: you should write ADD_INTERFACE(Foo) and not ADD_INTERFACE(IID_IFoo)!
+// NB: ADD_IID prepends IID_I whereas ADD_RAW_IID does not
 #define BEGIN_IID_TABLE(cname)  const IID *cname::ms_aIids[] = {
 #define ADD_IID(iid)                                             &IID_I##iid,
-#define ADD_RAW_IID(iid)                                         &::iid,
+#define ADD_RAW_IID(iid)                                         &##iid,
 #define END_IID_TABLE                                          }
 
 // implementation is as straightforward as possible