summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 93ae155be..2b0762e86 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -162,7 +162,7 @@ class TextField : public Widget,
void setCaretPosition(unsigned int position);
- void mousePressed(MouseEvent &mouseEvent) override final;
+ void mousePressed(MouseEvent &event) override final;
void handlePaste();
@@ -219,7 +219,7 @@ class TextField : public Widget,
unsigned int getCaretPosition() const
{ return mCaretPosition; }
- void mouseDragged(MouseEvent& mouseEvent) override final;
+ void mouseDragged(MouseEvent& event) override final;
protected:
void drawCaret(Graphics* graphics, int x);