> On 27.10.2014, at 11:16, [email protected] wrote: > > I have a TCXTBSButton trait that I want to add to a couple of WA classes. > > Now, I do not want to touch the WA classes as it would mean that I have to > maintain them on my own, which isn't good. > > So, how do I add a trait to a class without changing its code? > Programmatically adding a trait to a class on package/configuration load. > > For methods, I can do a *myownpackage so that things will be saved there. > > But for traits, I do not know how. > > Help :-)
I don’t think there’s any other option than doing a postload and recompiling those classes. Obviously, the packages of those classes will become dirty. > > Phil
