From 1e543d4bc5d7b5d30d7b313a495845ca9184486b Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Thu, 27 Oct 2005 21:43:40 +0000 Subject: [PATCH] disable "Terminate Explorer" in ReactOS build svn path=/trunk/; revision=18804 --- reactos/subsys/system/explorer/taskbar/startmenu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.cpp b/reactos/subsys/system/explorer/taskbar/startmenu.cpp index 1baee90ab01..0f3d278c735 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.cpp +++ b/reactos/subsys/system/explorer/taskbar/startmenu.cpp @@ -1748,7 +1748,9 @@ LRESULT StartMenuRoot::Init(LPCREATESTRUCT pcs) AddButton(ResString(IDS_SHUTDOWN), ICID_LOGOFF, false, IDC_SHUTDOWN); +#ifndef _ROS_ AddButton(ResString(IDS_TERMINATE), ICID_LOGOFF, false, IDC_TERMINATE); +#endif #ifdef __MINGW32__ @@ -1911,9 +1913,11 @@ int StartMenuHandler::Command(int id, int code) ShowLogoffDialog(g_Globals._hwndDesktopBar); break; +#ifndef _ROS_ case IDC_TERMINATE: DestroyWindow(GetParent(_hwnd)); break; +#endif case IDC_SHUTDOWN: CloseStartMenu(id);