virtual and KisPainter

Boudewijn Rempt boud at valdyas.org
Mon Jan 19 14:14:37 CET 2004


On Monday 19 January 2004 14:04, Patrick Julien wrote:
>
> In this case, it's considerably more powerful and flexible than static
> inheritance.  Not only, but do you really want to have more than one
> painter class?  I remember using MFC and having to use different DC classes
> depending on what the job was, no thank you!
>

Okay -- clear enough. I only noticed because I accidentally copied a virtual 
method from somewhere else in KisPainter and gcc told me that the destructor 
wasn't virtual.

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list