(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.

This commit is contained in:
frosch
2012-11-13 21:46:19 +00:00
parent c54f982a62
commit e95b757c11
13 changed files with 7 additions and 74 deletions

View File

@@ -463,12 +463,6 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
free(pre_buf);
}
virtual void OnPaint()
{
this->DrawWidgets();
this->DrawEditBox(WID_NC_TEXTBOX);
}
virtual Point OnInitialPosition(const WindowDesc *desc, int16 sm_width, int16 sm_height, int window_number)
{
Point pt = { 0, _screen.height - sm_height - FindWindowById(WC_STATUS_BAR, 0)->height };