mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
Remove GetClassLong hack for GCL_MENUNAME, this is no longer needed
svn path=/trunk/; revision=28115
This commit is contained in:
parent
a866dc9db1
commit
eedac786ea
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue