1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().

This commit is contained in:
alberth
2010-11-26 15:22:18 +00:00
parent 61637f493a
commit f5c6fd1a25
34 changed files with 4 additions and 274 deletions

View File

@@ -160,11 +160,6 @@ public:
delete bridges;
}
virtual void OnPaint()
{
this->DrawWidgets();
}
virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize)
{
switch (widget) {