disable "Terminate Explorer" in ReactOS build
authorMartin Fuchs <fuchs.martin@gmail.com>
Thu, 27 Oct 2005 21:43:40 +0000 (21:43 +0000)
committerMartin Fuchs <fuchs.martin@gmail.com>
Thu, 27 Oct 2005 21:43:40 +0000 (21:43 +0000)
svn path=/trunk/; revision=18804

reactos/subsys/system/explorer/taskbar/startmenu.cpp

index 1baee90..0f3d278 100644 (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);