summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:37:57 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:37:57 +0000
commitd15c1c5d4aacb74bbfd6d47700c5b2a2cec368ff (patch)
tree1cc8e74963f04a70fe7a7622e51dc2f31451a9f7 /src/window_gui.h
parent30867c487f17ca13744977c7873f4e1cf214fd33 (diff)
downloadopenttd-d15c1c5d4aacb74bbfd6d47700c5b2a2cec368ff.tar.xz
(svn r25692) -Add: Replacement of a part of the edit box text with a new string.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index f17eb11d8..b6b994d52 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -496,7 +496,7 @@ public:
bool SetFocusedWidget(int widget_index);
EventState HandleEditBoxKey(int wid, WChar key, uint16 keycode);
- virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret);
+ virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret, const char *insert_location, const char *replacement_end);
void HandleButtonClick(byte widget);
int GetRowFromWidget(int clickpos, int widget, int padding, int line_height = -1) const;