修改回调
onTextFieldInsertText
bool DTCursorTextField::onTextFieldInsertText(cocos2d::CCTextFieldTTF *pSender, const char *text, int nLen)
{
if(strcmp(text, "\n")==0)
{
detachWithIME();
return true;
}
}onTextFieldInsertText
bool DTCursorTextField::onTextFieldInsertText(cocos2d::CCTextFieldTTF *pSender, const char *text, int nLen)
{
if(strcmp(text, "\n")==0)
{
detachWithIME();
return true;
}
}