summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-04 16:08:55 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-04 16:08:55 +0300
commitf74202392745923f9ce372a6bdcd0a45db6bcd08 (patch)
tree34804d1fb3a94060544529a781983dd108ce1586 /src/gui/widgets/listbox.h
parent27de1601aa4a952d9555cc9b1aba8630f9043af4 (diff)
downloadmv-f74202392745923f9ce372a6bdcd0a45db6bcd08.tar.gz
mv-f74202392745923f9ce372a6bdcd0a45db6bcd08.tar.bz2
mv-f74202392745923f9ce372a6bdcd0a45db6bcd08.tar.xz
mv-f74202392745923f9ce372a6bdcd0a45db6bcd08.zip
Fix possible crash in npc menu.
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index e4b6dd54e..1df07f19d 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -66,6 +66,8 @@ class ListBox : public gcn::ListBox
void mouseDragged(gcn::MouseEvent &event);
+ void refocus();
+
protected:
gcn::Color mHighlightColor;
static float mAlpha;