disable "Terminate Explorer" in ReactOS build

svn path=/trunk/; revision=18804
This commit is contained in:
Martin Fuchs 2005-10-27 21:43:40 +00:00
parent 0c2180bbdd
commit 1e543d4bc5

View file

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