From 9d2738b9c4c917fef1435276f7963c05fad817de Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 29 Mar 2009 09:49:11 +0000 Subject: (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback --- src/depot_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot_gui.cpp') diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 670d0d154..af62b9b5a 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -1003,7 +1003,7 @@ struct DepotWindow : Window { _cursor.vehchain = false; } - virtual void OnResize(Point new_size, Point delta) + virtual void OnResize(Point delta) { this->vscroll.cap += delta.y / (int)this->resize.step_height; this->hscroll.cap += delta.x / (int)this->resize.step_width; -- cgit v1.2.3-54-g00ecf