(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.

This commit is contained in:
rubidium
2008-05-04 10:05:50 +00:00
parent dbf6e344a4
commit cb680474c3
6 changed files with 44 additions and 29 deletions

View File

@@ -1164,7 +1164,7 @@ static void QueryStringWndProc(Window *w, WindowEvent *e)
WindowEvent e;
e.event = WE_ON_EDIT_TEXT;
e.we.edittext.str = qs->text.buf;
parent->wndproc(parent, &e);
parent->HandleWindowEvent(&e);
} else {
HandleOnEditText(qs->text.buf);
}
@@ -1194,7 +1194,7 @@ static void QueryStringWndProc(Window *w, WindowEvent *e)
qs->handled = true;
e.event = WE_ON_EDIT_TEXT_CANCEL;
parent->wndproc(parent, &e);
parent->HandleWindowEvent(&e);
}
ClrBit(_no_scroll, SCROLL_EDIT);
break;