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); }