Extend of MenuItemImage don't working

Hi,
I am trying to make a new class in a new file and extend the MenuItemImage to override some methods.
When I write the same code on CCMenuItem.cpp file is working but when i put the code in a new file it doesn’t working.
I am using the version 3.0 of cocos2dx.

Anyone have any idea why this is happening? :slight_smile: