In the ComboBox class we have:
but in the button class we have
I just got tripped up by this, assuming that these calls were similar. That is, that passing false as the second parameter to both would prevent messaging from happening. Is there a reason for the difference?
For what it’s worth, having the parameter be negative requires a little extra thought. (Don’t Don’t send the change message = do send?) I prefer the affirmative version in the button class.
Is it too late to make parameters like this uniform, so that passing true or false has the same effect for all set state functions?