(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

@@ -179,7 +179,7 @@ static void DropDownMenuWndProc(Window *w, WindowEvent *e)
e.event = WE_DROPDOWN_SELECT;
e.we.dropdown.button = WP(w, dropdown_d).parent_button;
e.we.dropdown.index = WP(w, dropdown_d).selected_index;
w2->wndproc(w2, &e);
w2->HandleWindowEvent(&e);
DeleteWindow(w);
return;
}