On 15 March 2012 11:36, Mattias Gaertner wrote: > > Is the constructor virtual?
I owe you a beer! :-) The original constructor in TfpgCanvasBase was virtual, but some descendant classes did a 'reintroduce' of the constructor which wasn't virtual. Looking at the code now, the reintroduce isn't needed any more and thus removed. It works perfectly now, thanks!! fpGUI developers can now easily switch between X11, GDI and AggPas canvas's. :-D -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal