From 5656c6ef369f69d25e201cdfee727d2a8c2721b5 Mon Sep 17 00:00:00 2001
From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= <vslavik@fastmail.fm>
Date: Wed, 26 Jan 2000 00:50:29 +0000
Subject: [PATCH] added wxHtmlWindow::GetOpenedAnchor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/htwindow.tex | 10 ++++++++++
 include/wx/html/htmlwin.h  |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

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 <TITLE> of opened page or empty string otherwise
 
-- 
2.50.0

