mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
disable "Terminate Explorer" in ReactOS build
svn path=/trunk/; revision=18804
This commit is contained in:
parent
0c2180bbdd
commit
1e543d4bc5
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue