From 17025fa6ea110f0db0b1c2e29b7615b21c2f5a50 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Nov 2012 21:46:19 +0000 Subject: (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. --- src/querystring_gui.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/querystring_gui.h') diff --git a/src/querystring_gui.h b/src/querystring_gui.h index 6296435fe..db4216aa6 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -55,7 +55,7 @@ struct QueryString { private: bool HasEditBoxFocus(const Window *w, int wid) const; public: - void DrawEditBox(Window *w, int wid); + void DrawEditBox(const Window *w, int wid) const; void HandleEditBox(Window *w, int wid); HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, EventState &state); }; @@ -76,7 +76,6 @@ struct QueryStringBaseWindow : public Window, public QueryString { free(this->edit_str_buf); } - void DrawEditBox(int wid); void HandleEditBox(int wid); HandleEditBoxResult HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state); -- cgit v1.2.3-54-g00ecf