(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback

This commit is contained in:
alberth
2009-03-29 09:49:11 +00:00
parent 7a9a5cd139
commit 9d2738b9c4
23 changed files with 39 additions and 49 deletions

View File

@@ -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