diff --git a/docs/latex/wx/htwindow.tex b/docs/latex/wx/htwindow.tex index 65c82c55ec..2093c7c37b 100644 --- a/docs/latex/wx/htwindow.tex +++ b/docs/latex/wx/htwindow.tex @@ -62,6 +62,16 @@ Returns pointer to the top-level container. See also: \helpref{Cells Overview}{cells}, \helpref{Printing Overview}{printing} +\membersection{wxHtmlWindow::GetOpenedAnchor}\label{wxhtmlwindowgetopenedanchor} + +\func{wxString}{GetOpenedAnchor}{\void} + +Returns anchor within currently opened page +(see \helpref{GetOpenedPage}{wxhtmlwindowgetopenedpage}). +If no page is opened or if the displayed page wasn't +produced by call to LoadPage, empty string is returned. + + \membersection{wxHtmlWindow::GetOpenedPage}\label{wxhtmlwindowgetopenedpage} \func{wxString}{GetOpenedPage}{\void} diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index df896b6f5e..890012dc7b 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -92,7 +92,8 @@ class WXDLLEXPORT wxHtmlWindow : public wxScrolledWindow wxString GetOpenedPage() const {return m_OpenedPage;} // Returns full location of opened page - + wxString GetOpenedAnchor() const {return m_OpenedAnchor;} + // Returns anchor within opened page wxString GetOpenedPageTitle() const {return m_OpenedPageTitle;} // Returns