Author: weiden Date: Fri Aug 3 12:19:47 2007 New Revision: 28115
URL: http://svn.reactos.org/svn/reactos?rev=28115&view=rev Log: Remove GetClassLong hack for GCL_MENUNAME, this is no longer needed
Modified: trunk/reactos/dll/win32/user32/windows/class.c
Modified: trunk/reactos/dll/win32/user32/windows/class.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/cl... ============================================================================== --- trunk/reactos/dll/win32/user32/windows/class.c (original) +++ trunk/reactos/dll/win32/user32/windows/class.c Fri Aug 3 12:19:47 2007 @@ -215,16 +215,6 @@ 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); } @@ -246,16 +236,6 @@ if (hBrush != 0 && hBrush < 0x4000) hBrush = (DWORD)GetSysColorBrush((ULONG)hBrush - 1); 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: