src/osk_gui.cpp
changeset 9082 8a28686aeff2
parent 8739 2cdee97876a8
child 9115 47ae980bace3
--- a/src/osk_gui.cpp	Sun May 04 10:05:35 2008 +0000
+++ b/src/osk_gui.cpp	Sun May 04 10:05:50 2008 +0000
@@ -161,7 +161,7 @@
 							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 @@
 						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);