Ensure keyrepeat is disabled at component creation

This commit is contained in:
Simon Robertshaw 2012-08-09 20:38:06 +01:00
parent 3bdfd510b2
commit ac45502de9

View File

@ -18,7 +18,8 @@ Textbox::Textbox(Point position, Point size, std::string textboxText, std::strin
mouseDown(false),
limit(std::string::npos),
inputType(All),
keyDown(0)
keyDown(0),
characterDown(0)
{
placeHolder = textboxPlaceholder;