summaryrefslogtreecommitdiff
path: root/src/gui/inttextbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inttextbox.h')
-rw-r--r--src/gui/inttextbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inttextbox.h b/src/gui/inttextbox.h
index b199cb2f..b5d339ac 100644
--- a/src/gui/inttextbox.h
+++ b/src/gui/inttextbox.h
@@ -55,7 +55,8 @@ class IntTextBox : public TextBox
/**
* Responds to key presses.
*/
- void keyPress(const gcn::Key &key);
+ void
+ keyPressed(gcn::KeyEvent &event);
private:
int mMin; /**< Minimum value */