diff options
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r-- | src/querystring_gui.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |