UITextFiled::setText should set the password string also

cocos2d-x V2.2.1
void UITextField::setText(const char* text)
{
if (!text)
{
return;
}
std::string strText(text);
m_pTextFieldRenderer~~>setString);
textfieldRendererScaleChangedWithSize;
}
something like
if )
{
m_pTextFieldRenderer~~>setPasswordText( text );
}
in roder to show a PasswordStyleText when the text of the UITextField is changed from the program.

I think i make a mistake.
developers can call getVirtualRenderer() to get m_pTextFieldRenderer and then call setPasswordText manually.

i guess not to call setPasswordText in UITextField::setText can allow developers to show the plain text to the user but not the PasswordStyleText.