Skip to content

Commit d861918

Browse files
committed
Fix IsControl property.
1 parent e3bd14a commit d861918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Parsing/ComReflection/ComCoClass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public ComCoClass(ITypeLib typeLib, ITypeInfo info, TYPEATTR attrib, int index)
7171
{
7272
Type = DeclarationType.ClassModule;
7373
GetImplementedInterfaces(info, attrib);
74-
IsControl = attrib.wTypeFlags.HasFlag(TYPEFLAGS.TYPEFLAG_FAPPOBJECT);
74+
IsControl = attrib.wTypeFlags.HasFlag(TYPEFLAGS.TYPEFLAG_FCONTROL);
7575
Debug.Assert(attrib.cFuncs == 0);
7676
}
7777

0 commit comments

Comments
 (0)