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 | ab523bb59f0c2c3beef6b7a87070a2c2a1e4d981 (patch) | |
tree | 1d76ddc0a0102e9829207503f6e5aad1380346b1 /window.h | |
parent | 14e8615cf277214c4aa8899e3b2c64bb44dc75ef (diff) | |
download | openttd-ab523bb59f0c2c3beef6b7a87070a2c2a1e4d981.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); |