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 | cb680474c3c1f58772533e257c6acbbf4e13c524 (patch) | |
tree | db20ecb24bd4ed1e1b227ee5c97b97c39bb95656 /src/widgets | |
parent | dbf6e344a419cf453ce8a292a588385b5299c996 (diff) | |
download | openttd-cb680474c3c1f58772533e257c6acbbf4e13c524.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; } |