(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 e20c8be172
commit 98ba395277
34 changed files with 625 additions and 638 deletions

View File

@@ -144,8 +144,10 @@ static void SubsidiesListWndProc(Window *w, WindowEvent *e)
case WE_PAINT: DrawSubsidiesWindow(w); break;
case WE_CLICK:
switch (e->click.widget) {
case 3: HandleSubsidyClick(e->click.pt.y - 25); break;
switch (e->we.click.widget) {
case 3:
HandleSubsidyClick(e->we.click.pt.y - 25);
break;
}
break;
}