(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)

This commit is contained in:
yexo
2012-08-13 18:52:47 +00:00
parent 483d878d5f
commit 5192155253
4 changed files with 1 additions and 6 deletions

View File

@@ -55,6 +55,7 @@ TextfileWindow::TextfileWindow(TextfileType file_type) : Window(), file_type(fil
this->vscroll = this->GetScrollbar(WID_TF_VSCROLLBAR);
this->hscroll = this->GetScrollbar(WID_TF_HSCROLLBAR);
this->FinishInitNested(&_textfile_desc);
this->GetWidget<NWidgetCore>(WID_TF_CAPTION)->SetDataTip(STR_TEXTFILE_README_CAPTION + file_type, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS);
}
/* virtual */ TextfileWindow::~TextfileWindow()