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/smallmap_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/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 3efade6c6..2693c31a2 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1046,7 +1046,7 @@ public: this->SetDirty(); } - virtual void OnResize(Point new_size, Point delta) + virtual void OnResize(Point delta) { if (delta.x != 0 && this->map_type == SMT_INDUSTRY) this->ResizeLegend(); } @@ -1166,7 +1166,7 @@ public: } } - virtual void OnResize(Point new_size, Point delta) + virtual void OnResize(Point delta) { this->viewport->width += delta.x; this->viewport->height += delta.y; |