1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19: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

@@ -97,11 +97,6 @@ public:
}
}
virtual void OnPaint()
{
this->DrawWidgets();
}
virtual void OnClick(Point pt, int widget, int click_count)
{
switch (widget) {