]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/activex.cpp
Minor header cleaning.
[wxWidgets.git] / src / msw / ole / activex.cpp
index 2c53f2962995baf09813186fd81abb08d3032bb5..e54ffabb78e8d3300de4750dcc89c26989196fa9 100644 (file)
@@ -894,7 +894,6 @@ void wxActiveXContainer::CreateActiveX(REFIID iid, IUnknown* pUnk)
             continue;
 
         // check if default event sink
-        bool defInterface = false;
         bool defEventSink = false;
         int impTypeFlags = 0;
         typeInfo->GetImplTypeFlags(i, &impTypeFlags);
@@ -912,11 +911,6 @@ void wxActiveXContainer::CreateActiveX(REFIID iid, IUnknown* pUnk)
                     wxFAIL_MSG(wxT("Default event sink is in vtable!"));
                 }
             }
-            else
-            {
-                // WXOLE_TRACEOUT("Default Interface");
-                defInterface = true;
-            }
         }