| 87 | } |
| 88 | |
| 89 | void PropertyInt2Control::setColour(bool _validate) |
| 90 | { |
| 91 | MyGUI::UString value = mEdit->getOnlyText(); |
| 92 | if (!_validate) |
| 93 | value = replaceTags("ColourError") + value; |
| 94 | |
| 95 | size_t index = mEdit->getTextCursor(); |
| 96 | mEdit->setCaption(value); |
| 97 | mEdit->setTextCursor(index); |
| 98 | } |
| 99 | |
| 100 | } |
nothing calls this directly
no test coverage detected