From b264ab16f324b8e7197cdc89d5dd67b78f55ad3d Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 19 Aug 2009 18:07:58 +0000 Subject: [PATCH] Do not flag clicks on system menu items other than our own "Check for updates" and "About" items as *handled* . Broken in r2580. Fixes issue #1309 --- source/main.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index bbdf521e..f294479c 100644 --- a/source/main.pas +++ b/source/main.pas @@ -9446,11 +9446,12 @@ procedure TMainForm.OnMessageHandler(var Msg: TMsg; var Handled: Boolean); begin // Clicks on system window menu get handled here if Msg.message = WM_SYSCOMMAND then begin + Handled := True; case Msg.wParam of MSG_UPDATECHECK: Mainform.actUpdateCheck.Execute; MSG_ABOUT: Mainform.actAboutBox.Execute; + else Handled := False; end; - Handled := True; end; end;