report bug for CCMenuItemFont

in cocos2d 2.0.3

the font name and size don’t take effect until the second label also, they take effect even if the font and font size are not set to them.

// Solution to the problem.
cocos2d::CCMenuItemFont * dummyLabel = cocos2d::CCMenuItemFont::create(“dummy”);
dummyLabel~~>setFontName;
dummyLabel~~>setFontSize(FontSize);

cocos2d::CCMenuItemFont * playLabel = cocos2d::CCMenuItemFont::create(“Play”, this, (cocos2d::SEL_MenuHandler) &MainMenuLayer::gameplayScene);
playLabel~~>setFontName;
playLabel~~>setFontSize(FontSize);
cocos2d::CCMenuItemFont * optionsLabel = cocos2d::CCMenuItemFont::create(“Options”, this, (cocos2d::SEL_MenuHandler) &MainMenuLayer::displayOptions);
optionsLabel~~>setFontName;
optionsLabel~~>setFontSize(FontSize);
cocos2d::CCMenuItemFont * creditsLabel = cocos2d::CCMenuItemFont::create(“Credits”, this, (cocos2d::SEL_MenuHandler) &MainMenuLayer::creditsScene);
creditsLabel~~>setFontName;
creditsLabel~~>setFontSize(FontSize);
cocos2d::CCMenuItemFont * introLabel = cocos2d::CCMenuItemFont::create(“Intro”, this, (cocos2d::SEL_MenuHandler) &MainMenuLayer::introScene);
introLabel~~>setFontName;
introLabel~~>setFontSize(FontSize);

Hi. mchung
I also found that bug.
CCImage class m_hFont((HFONT)GetStockObject(DEFAULT_GUI_FONT)) The initial value bug
fixed As follows:
BitmapDC class initial value
m_hFont((HFONT)GetStockObject(DEFAULT_GUI_FONT)) -> m_hFont(NULL)
have nice day~