Called by the framework when a button changes its check state.
The default implementation does nothing.
Reimplemented in CBCGPToolbarMenuButton.