(svn r25533) -Codechange: Use SetCapacityFromWidget more often.

This commit is contained in:
frosch
2013-06-30 14:33:32 +00:00
parent 5f8f71edf0
commit e184b9799c
4 changed files with 5 additions and 5 deletions

View File

@@ -1084,7 +1084,7 @@ struct MessageHistoryWindow : Window {
virtual void OnResize()
{
this->vscroll->SetCapacity(this->GetWidget<NWidgetBase>(WID_MH_BACKGROUND)->current_y / this->line_height);
this->vscroll->SetCapacityFromWidget(this, WID_MH_BACKGROUND);
}
};