summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2007-02-01 22:35:57 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2007-02-01 22:35:57 +0000
commit63dcf62ec17992b8993dcab5ace8f3af5c7f8277 (patch)
tree4d6b4a7b33dcab0718eea40fa422ceda6f40bbff
parentc920d8e57980dfc17702fd510e3cfa244a58d878 (diff)
downloadmana-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--ChangeLog1
-rw-r--r--src/gui/button.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b3ca128e..bef2ba8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */