summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */