From 7f4737ea0677bcaee26b826032b192f41f0e0e2c Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 2 May 2009 12:46:06 +0000 Subject: [PATCH] ideintf: fix use of close button as custom button git-svn-id: trunk@19767 - --- ideintf/checkgroupeditordlg.pas | 1 + ideintf/imagelisteditor.pp | 1 + 2 files changed, 2 insertions(+) diff --git a/ideintf/checkgroupeditordlg.pas b/ideintf/checkgroupeditordlg.pas index bd73bf8b7c..2506184a4f 100644 --- a/ideintf/checkgroupeditordlg.pas +++ b/ideintf/checkgroupeditordlg.pas @@ -145,6 +145,7 @@ begin DuplicateCheckBox.Caption := cgCheckDuplicate; LabelDisable.Caption := cgDisable; BtnPanel.CloseButton.Caption := sccsTrEdtApply; + BtnPanel.CloseButton.Kind := bkCustom; BtnPanel.CloseButton.Glyph := nil; BtnPanel.CloseButton.ModalResult := mrNone; BtnPanel.CloseButton.OnClick := @ApplyCheck; diff --git a/ideintf/imagelisteditor.pp b/ideintf/imagelisteditor.pp index 3f979cf4db..c5c584d767 100644 --- a/ideintf/imagelisteditor.pp +++ b/ideintf/imagelisteditor.pp @@ -189,6 +189,7 @@ begin BtnSaveAll.Caption := sccsILEdtSaveAll; BtnPanel.CloseButton.Caption := sccsILEdtApply; + BtnPanel.CloseButton.Kind := bkCustom; BtnPanel.CloseButton.Glyph := nil; BtnPanel.CloseButton.ModalResult := mrNone; BtnPanel.CloseButton.OnClick := @btnApplyClick;