sets frame title even for pages without <title> tag

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2000-01-26 00:50:05 +00:00
parent 5fbc988f58
commit 096824d758

View File

@ -210,8 +210,10 @@ bool wxHtmlWindow::LoadPage(const wxString& location)
m_History.Add(new HtmlHistoryItem(m_OpenedPage, m_OpenedAnchor));
}
if (m_OpenedPageTitle == wxEmptyString)
OnSetTitle(wxFileNameFromPath(m_OpenedPage));
SetCursor(*wxSTANDARD_CURSOR);
wxYield();
m_tmpCanDrawLocks--;
Refresh();