Fix not localized caption of FindReplaceDlg

Fixed not localized caption of FindReplaceDlg when it appear the first time.
Closes #1395
This commit is contained in:
antonyflash 2016-01-20 20:55:27 +07:00 committed by Don Ho
parent 0273917bbe
commit d6c2d6cc9f

View File

@ -301,6 +301,10 @@ public :
tie.mask = TCIF_TEXT;
tie.pszText = (TCHAR *)name2change;
TabCtrl_SetItem(_tab.getHSelf(), index, &tie);
TCHAR label[MAX_PATH];
_tab.getCurrentTitle(label, MAX_PATH);
::SetWindowText(_hSelf, label);
}
void beginNewFilesSearch()
{