diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:47:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:47:57 +0300 |
commit | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch) | |
tree | 25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/widgets/textfield.h | |
parent | 1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff) | |
download | manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2 manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip |
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r-- | src/gui/widgets/textfield.h | 6 |
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(); |