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:
parent
5fbc988f58
commit
096824d758
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user