(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 28eae51f93
commit 0722492c1b
34 changed files with 4 additions and 274 deletions

View File

@@ -72,11 +72,6 @@ struct EnginePreviewWindow : Window {
this->InitNested(desc, window_number);
}
virtual void OnPaint()
{
this->DrawWidgets();
}
virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize)
{
if (widget != EPW_QUESTION) return;