backButton = CCMenuItemImage::create(“Icon.png”, “Icon.png”, this, menu_selector(StartGame::Back));
backButtonMenu = CCMenu::create(backButton,NULL);
see that code above workds, the button appears in the center and as I have written in StartGame::Back() function it does goto the main menu.
things fall apart when I “remove” the comment above and let backButtonMenu->setPosition(ccp(10, 10)); run too.
all these are in init function of my layer class.