diff options
author | bjarni <bjarni@openttd.org> | 2006-09-02 20:09:16 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-02 20:09:16 +0000 |
commit | 01a566429cb6fcb67621d09b4a7181103bef8fd1 (patch) | |
tree | 1d76ddc0a0102e9829207503f6e5aad1380346b1 /window.h | |
parent | 61e2fa3cd2a9cbbf4e9543b898b31d5f464491df (diff) | |
download | openttd-01a566429cb6fcb67621d09b4a7181103bef8fd1.tar.xz |
(svn r6345) -Codechange: AllocateWindowDescFront() now ensures that window_number is set before calling the WE_CREATE event
this allows using the window_number in WE_CREATE window event handlers
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -603,7 +603,7 @@ Window *AllocateWindow( const Widget *widget); Window *AllocateWindowDesc(const WindowDesc *desc); -Window *AllocateWindowDescFront(const WindowDesc *desc, int value); +Window *AllocateWindowDescFront(const WindowDesc *desc, int window_number); void DrawWindowViewport(Window *w); |