mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:26:03 +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
1 changed files with 0 additions and 20 deletions
|
@ -215,16 +215,6 @@ GetClassLongA(HWND hWnd, int nIndex)
|
||||||
return hBrush;
|
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:
|
default:
|
||||||
return NtUserGetClassLong(hWnd, nIndex, TRUE);
|
return NtUserGetClassLong(hWnd, nIndex, TRUE);
|
||||||
}
|
}
|
||||||
|
@ -248,16 +238,6 @@ GetClassLongW ( HWND hWnd, int nIndex )
|
||||||
return hBrush;
|
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:
|
default:
|
||||||
return NtUserGetClassLong(hWnd, nIndex, FALSE);
|
return NtUserGetClassLong(hWnd, nIndex, FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue