]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxHtmlWindow::GetOpenedAnchor
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 26 Jan 2000 00:50:29 +0000 (00:50 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 26 Jan 2000 00:50:29 +0000 (00:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/htwindow.tex
include/wx/html/htmlwin.h

index 65c82c55ec4a47c96dc1c5875bc38d888c8443bb..2093c7c37b2d4f22159db77bcff5501e7fb029cd 100644 (file)
@@ -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}
index df896b6f5e56958481e3f1e990c3bb61294cd186..890012dc7bb4e357a59477585bdc06dcce704ca8 100644 (file)
@@ -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