summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-03-29 09:49:11 +0000
committeralberth <alberth@openttd.org>2009-03-29 09:49:11 +0000
commit9d2738b9c4c917fef1435276f7963c05fad817de (patch)
tree46a8610446402593770a93a3a51e586061127c7b /src/network
parent7a9a5cd139e924b966599e459db2f1fbdbcdf286 (diff)
downloadopenttd-9d2738b9c4c917fef1435276f7963c05fad817de.tar.xz
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp2
-rw-r--r--src/network/network_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index e5dd0352e..f6ab0370d 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -674,7 +674,7 @@ public:
this->SetDirty();
}
- virtual void OnResize(Point new_size, Point delta)
+ virtual void OnResize(Point delta)
{
this->vscroll.cap += delta.y / (int)this->resize.step_height;
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 5e11dc41b..36312190f 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -722,7 +722,7 @@ public:
}
}
- virtual void OnResize(Point new_size, Point delta)
+ virtual void OnResize(Point delta)
{
this->vscroll.cap += delta.y / (int)this->resize.step_height;