>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

>> which adds 4 bytes to Inset for no good reason.
Bo> I do not know much about this topic, but would not it be cheaper
Bo> to use a virtual function for this? By default setBackgroundColor
Bo> does nothing, but if an inset does need to respond to this call,
Bo> it can redefine this function.

The patch makes backgroundColor() a virtual function. It is the same
idea, isn't it?

JMarc

Reply via email to