| 869 | } |
| 870 | |
| 871 | void TextFieldEx::setEnabled(bool bEnabled) |
| 872 | { |
| 873 | if (this->_enabled != bEnabled) |
| 874 | { |
| 875 | if (!bEnabled) |
| 876 | { |
| 877 | this->closeIME(); |
| 878 | } |
| 879 | this->_enabled = bEnabled; |
| 880 | } |
| 881 | } |
| 882 | |
| 883 | int TextFieldEx::getFontType() const |
| 884 | { |