diff options
author | rubidium <rubidium@openttd.org> | 2008-05-04 10:05:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-04 10:05:50 +0000 |
commit | 0083ce9e1b1af3ef49368af454c861e778472ac2 (patch) | |
tree | db20ecb24bd4ed1e1b227ee5c97b97c39bb95656 /src/widgets | |
parent | 63fea0790b405ee5c48c1b48c51d93dc4639e8d3 (diff) | |
download | openttd-0083ce9e1b1af3ef49368af454c861e778472ac2.tar.xz |
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/dropdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 251c01ca0..6bf7358b8 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -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; } |