diff options
author | alberth <alberth@openttd.org> | 2009-03-29 09:49:11 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-03-29 09:49:11 +0000 |
commit | 9d2738b9c4c917fef1435276f7963c05fad817de (patch) | |
tree | 46a8610446402593770a93a3a51e586061127c7b /src/toolbar_gui.cpp | |
parent | 7a9a5cd139e924b966599e459db2f1fbdbcdf286 (diff) | |
download | openttd-9d2738b9c4c917fef1435276f7963c05fad817de.tar.xz |
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 5893c6eaa..43c0b4a9e 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -1117,7 +1117,7 @@ struct MainToolbarWindow : Window { } } - virtual void OnResize(Point new_size, Point delta) + virtual void OnResize(Point delta) { if (this->width <= TBP_NORMAL_MAXBUTTON * TBP_BUTTONWIDTH) { SplitToolbar(this); @@ -1311,7 +1311,7 @@ public: _place_proc(tile); } - virtual void OnResize(Point new_size, Point delta) + virtual void OnResize(Point delta) { /* There are 16 buttons plus some spacings if the space allows it. * Furthermore there are two panels of which one is non - essential |