Marco van de Voort het geskryf: >> >> http://bugs.freepascal.org/view.php?id=12778 > > Did you verify that it works when you insert this fix into 2.4.1? Does it > work with 2.5.1 currently?
I haven't tried to port that fix to 2.4.1 myself. It does work in current 2.5.1 though - just tried. I am quickly putting together a very basic prototype implementation of what I eventually want to add to fpGUI. This will allow me to double check the delegation fix with more certainty (oh how we long for unit tests covering all these features). > I don't think making the current classes a patch work of styles is a good > way to go. Today it is observers, tomorrow it is iterators etc. Observer has been around for ages, it's not a "today's flavour" feature. It's minimal addition with huge benefits. This was discussed off the mailing list by Michael, Joost and myself. Consensus was positive, but I just want to confirm the final answer. Also, it will not break anything, because observer functionality did not exist before in the base classes. As for the iterators idea I mentioned months ago. I decided to keep it as a separate unit and used by my projects as needed. This way I don't need to fight FPC policies/ideals if I want to make changes. [it's not always beneficial to contribute code] The Observer pattern is a lot simpler and would not change in the future. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel