Hello,

I decided to put the patch here since it is so small.

It is rather trivial, just adds a bunch of virtual markers and some
methods with empty implementations, as to make them optional. I think
the behavior looks ok for me, if the sub-class doesn't implement the
method, no operation is performed.

If some methods can be implemented based on other ones, great, but
this should be a separate commit.

Later Lazarus would need to be adapted, maybe now with ifdefs or else
after fpc 3.0 gets released.

-- 
Felipe Monteiro de Carvalho

Attachment: virtualfpcanvas.diff
Description: Binary data

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to