summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:46:54 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:46:54 +0000
commitfd55399167115dbb06e77bb03f85681ba318f5f2 (patch)
tree98b7ed09e96dbb242e05bd7551e750afb4fc1a6f /src/window.cpp
parent67f92f16eda1e9d251d665df7ceaa6127af4c593 (diff)
downloadopenttd-fd55399167115dbb06e77bb03f85681ba318f5f2.tar.xz
(svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 0ef7f8007..b7741be30 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -452,7 +452,7 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count)
/* Open the OSK window if clicked on an edit box */
QueryStringBaseWindow *qs = dynamic_cast<QueryStringBaseWindow *>(w);
if (qs != NULL) {
- qs->OnOpenOSKWindow(widget_index);
+ ShowOnScreenKeyboard(qs, widget_index);
}
}
break;