diff options
Diffstat (limited to 'src/osk_gui.cpp')
-rw-r--r-- | src/osk_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp index 80a87edd5..c2b3b3bbf 100644 --- a/src/osk_gui.cpp +++ b/src/osk_gui.cpp @@ -161,7 +161,7 @@ static void OskWndProc(Window *w, WindowEvent *e) WindowEvent e; e.event = WE_CLICK; e.we.click.widget = WP(w, osk_d).ok_btn; - parent->wndproc(parent, &e); + parent->HandleWindowEvent(&e); } } DeleteWindow(w); @@ -173,7 +173,7 @@ static void OskWndProc(Window *w, WindowEvent *e) WindowEvent e; e.event = WE_CLICK; e.we.click.widget = WP(w, osk_d).cancel_btn; - parent->wndproc(parent, &e); + parent->HandleWindowEvent(&e); } else { // or reset to original string strcpy(qs->text.buf, WP(w, osk_d).orig); UpdateTextBufferSize(&qs->text); |