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:
@@ -210,8 +210,10 @@ bool wxHtmlWindow::LoadPage(const wxString& location)
|
|||||||
m_History.Add(new HtmlHistoryItem(m_OpenedPage, m_OpenedAnchor));
|
m_History.Add(new HtmlHistoryItem(m_OpenedPage, m_OpenedAnchor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_OpenedPageTitle == wxEmptyString)
|
||||||
|
OnSetTitle(wxFileNameFromPath(m_OpenedPage));
|
||||||
SetCursor(*wxSTANDARD_CURSOR);
|
SetCursor(*wxSTANDARD_CURSOR);
|
||||||
|
|
||||||
wxYield();
|
wxYield();
|
||||||
m_tmpCanDrawLocks--;
|
m_tmpCanDrawLocks--;
|
||||||
Refresh();
|
Refresh();
|
||||||
|
Reference in New Issue
Block a user