José Mejuto wrote:
Hello Lazarus-List,
All objects in the widgetset interface TWSxxxxx has the "class
procedure" under the published section like:
TWSBitBtn = class(TWSButton)
published
class procedure SetGlyph(const ABitBtn:...........
class procedure SetLayout(const ABitBtn:..........
class procedure SetMargin(const ABitBtn:..........
class procedure SetSpacing(const ABitBtn:.........
end;
Is there any reason to be published instead public ? Maybe to garantee
that the functions will never be removed by fpc/linker if not directly
used in the code ?
there is a "virtual" classtree build based on RTTI. RTTI is only
generated for published methods
Marc
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus