fixed compilation with fpc 2.6.1 23444

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@39879 4005530d-fff6-0310-9dd1-cebe43e6787f
codetools: allow published methods in objcclass, bug 22483

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@39880 4005530d-fff6-0310-9dd1-cebe43e6787f