diff -urNr boinc-client_release-7.18-7.18.1-orig/clientgui/AdvancedFrame.cpp boinc-client_release-7.18-7.18.1/clientgui/AdvancedFrame.cpp
--- boinc-client_release-7.18-7.18.1-orig/clientgui/AdvancedFrame.cpp 2021-08-03 17:52:19.000000000 +0200
+++ boinc-client_release-7.18-7.18.1/clientgui/AdvancedFrame.cpp 2022-06-10 01:41:00.031288249 +0200
@@ -342,11 +342,13 @@
_("Select computer...\tCtrl+Shift+I"),
_("Connect to a BOINC client on another computer")
);
+#ifndef __WXGTK__
menuFile->Append(
ID_SHUTDOWNCORECLIENT,
_("Shut down connected client..."),
_("Shut down the currently connected BOINC client")
);
+#endif
menuFile->AppendSeparator();
strMenuDescription.Printf(