(svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct

This commit is contained in:
belugas
2006-09-23 02:39:24 +00:00
parent 0f78b620fb
commit 1c56a5ae0f
34 changed files with 625 additions and 638 deletions

View File

@@ -562,8 +562,8 @@ static void DropdownMenuWndProc(Window *w, WindowEvent *e)
if (WP(w,dropdown_d).click_delay != 0 && --WP(w,dropdown_d).click_delay == 0) {
WindowEvent e;
e.event = WE_DROPDOWN_SELECT;
e.dropdown.button = WP(w,dropdown_d).parent_button;
e.dropdown.index = WP(w,dropdown_d).selected_index;
e.we.dropdown.button = WP(w,dropdown_d).parent_button;
e.we.dropdown.index = WP(w,dropdown_d).selected_index;
w2->wndproc(w2, &e);
DeleteWindow(w);
return;