(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.

This commit is contained in:
rubidium
2008-05-11 11:41:18 +00:00
parent 1f70b47e22
commit 29ad1d442a
6 changed files with 34 additions and 7 deletions

View File

@@ -163,6 +163,8 @@ public:
this->selected_index = 0;
this->selected_type = this->index[0];
this->callback_timer = DAY_TICKS;
this->FindWindowPlacementAndResize(&_build_industry_desc);
}
virtual void OnPaint()