From 6c99f992dc0b2b137c2a183e528e4dd87c8b58ec Mon Sep 17 00:00:00 2001 From: Dhilan007 Date: Mon, 31 Mar 2014 16:18:45 +0800 Subject: [PATCH] fixed can't type chinese. --- .../Classes/ExtensionsTest/EditBoxTest/EditBoxTest.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/cpp-tests/Classes/ExtensionsTest/EditBoxTest/EditBoxTest.cpp b/tests/cpp-tests/Classes/ExtensionsTest/EditBoxTest/EditBoxTest.cpp index 43cea9cf34..ed24585037 100644 --- a/tests/cpp-tests/Classes/ExtensionsTest/EditBoxTest/EditBoxTest.cpp +++ b/tests/cpp-tests/Classes/ExtensionsTest/EditBoxTest/EditBoxTest.cpp @@ -39,11 +39,7 @@ EditBoxTest::EditBoxTest() // top _editName = EditBox::create(editBoxSize, Scale9Sprite::create("extensions/green_edit.png")); _editName->setPosition(Point(visibleOrigin.x+visibleSize.width/2, visibleOrigin.y+visibleSize.height*3/4)); -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) _editName->setFontName("Paint Boy"); -#else - _editName->setFontName("fonts/Paint Boy.ttf"); -#endif _editName->setFontSize(25); _editName->setFontColor(Color3B::RED); _editName->setPlaceHolder("Name:");