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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 6e77b5e1a..958c1b5f7 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -174,9 +174,13 @@ class TextField notfinal : public Widget,
void handleCopy() const;
+#ifdef ANDROID
void focusGained(const Event &event) override final;
+#else
+ void focusGained(const Event &event) override final A_CONST;
+#endif
- void focusLost(const Event &event) override;
+ void focusLost(const Event &event) override A_CONST;
void moveCaretBack();