summaryrefslogtreecommitdiff
path: root/src/querystring_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-05-30 12:06:18 +0000
committeralberth <alberth@openttd.org>2010-05-30 12:06:18 +0000
commit113f3ef0ebafcc637d061e955a162751cf011f8f (patch)
tree97b540ea5d7e931e802972ccbcee537744239343 /src/querystring_gui.h
parentfc82d9cd77224c458c05ce2fd749e58e9cee5299 (diff)
downloadopenttd-113f3ef0ebafcc637d061e955a162751cf011f8f.tar.xz
(svn r19904) -Codechange: Make EventState usable outside Window context.
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r--src/querystring_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h
index 494e38c8e..62810a044 100644
--- a/src/querystring_gui.h
+++ b/src/querystring_gui.h
@@ -56,7 +56,7 @@ private:
public:
void DrawEditBox(Window *w, int wid);
void HandleEditBox(Window *w, int wid);
- HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, Window::EventState &state);
+ HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, EventState &state);
};
struct QueryStringBaseWindow : public Window, public QueryString {