I think you can fix that problem with the below line:
CBitmapButton::~CBitmapButton
It is better to have the same name for the destructor and the class identifier. Apparently you don't have a class named "CButton"