Remove GetClassLong hack for GCL_MENUNAME, this is no longer needed

svn path=/trunk/; revision=28115
This commit is contained in:
Thomas Bluemel 2007-08-03 08:19:47 +00:00
parent a866dc9db1
commit eedac786ea

View file

@ -215,16 +215,6 @@ GetClassLongA(HWND hWnd, int nIndex)
return hBrush;
}
case GCL_MENUNAME:
{
PUNICODE_STRING Name;
Name = (PUNICODE_STRING)NtUserGetClassLong(hWnd, nIndex, TRUE);
if (IS_INTRESOURCE(Name))
return (DWORD)Name;
else
return (DWORD)heap_string_poolA(Name->Buffer, Name->Length);
}
default:
return NtUserGetClassLong(hWnd, nIndex, TRUE);
}
@ -248,16 +238,6 @@ GetClassLongW ( HWND hWnd, int nIndex )
return hBrush;
}
case GCL_MENUNAME:
{
PUNICODE_STRING Name;
Name = (PUNICODE_STRING)NtUserGetClassLong(hWnd, nIndex, FALSE);
if (IS_INTRESOURCE(Name))
return (DWORD)Name;
else
return (DWORD)heap_string_poolW(Name->Buffer, Name->Length);
}
default:
return NtUserGetClassLong(hWnd, nIndex, FALSE);
}