From eedac786ea5a7d36b30349c29818f59dade29c4e Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 3 Aug 2007 08:19:47 +0000 Subject: [PATCH] Remove GetClassLong hack for GCL_MENUNAME, this is no longer needed svn path=/trunk/; revision=28115 --- reactos/dll/win32/user32/windows/class.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/reactos/dll/win32/user32/windows/class.c b/reactos/dll/win32/user32/windows/class.c index b7c1f538df9..b06341913ad 100644 --- a/reactos/dll/win32/user32/windows/class.c +++ b/reactos/dll/win32/user32/windows/class.c @@ -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); }