diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-02-01 22:35:57 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-02-01 22:35:57 +0000 |
commit | 63dcf62ec17992b8993dcab5ace8f3af5c7f8277 (patch) | |
tree | 4d6b4a7b33dcab0718eea40fa422ceda6f40bbff | |
parent | c920d8e57980dfc17702fd510e3cfa244a58d878 (diff) | |
download | mana-client-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.tar.gz mana-client-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.tar.bz2 mana-client-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.tar.xz mana-client-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.zip |
Fixed buttons loosing focus.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/gui/button.h | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,7 @@ * src/gui/updatewindow.cpp: File handle should be closed before attempting to remove/rename files. + * src/gui/button.h: Fixed buttons loosing focus. 2007-02-01 Bjørn Lindeijer <bjorn@lindeijer.nl> diff --git a/src/gui/button.h b/src/gui/button.h index 1c2ec41b..339341ad 100644 --- a/src/gui/button.h +++ b/src/gui/button.h @@ -53,6 +53,8 @@ class Button : public gcn::Button { */ void draw(gcn::Graphics* graphics); + void focusLost() {} + private: static ImageRect button[4]; /**< Button state graphics */ static int mInstances; /**< Number of button instances */ |