From b6a92e67e4ca942ffa7663b5789b5bc02c76a505 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 12 Jun 2012 16:26:06 +0000 Subject: [PATCH] codetools: class completion: add static method modifier for setter of class property git-svn-id: trunk@37633 - --- components/codetools/codecompletiontool.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/codecompletiontool.pas b/components/codetools/codecompletiontool.pas index a2a01bf30d..3d74b83a37 100644 --- a/components/codetools/codecompletiontool.pas +++ b/components/codetools/codecompletiontool.pas @@ -6741,7 +6741,7 @@ var end; // add new Insert Node if IsClassProp then - AccessFunc:='class '+AccessFunc; + AccessFunc:='class '+AccessFunc+' static;'; if CompleteProperties then AddClassInsertion(CleanAccessFunc,AccessFunc,AccessParam, ncpPrivateProcs,PropNode,ProcBody);