X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..704ceca8d2cd8da51a5cc22f8c51fd61c762dbf5:/interface/wx/html/htmlcell.h diff --git a/interface/wx/html/htmlcell.h b/interface/wx/html/htmlcell.h index 79c441f684..52e4d7d9a8 100644 --- a/interface/wx/html/htmlcell.h +++ b/interface/wx/html/htmlcell.h @@ -8,7 +8,6 @@ /** @class wxHtmlColourCell - @headerfile htmlcell.h wx/html/htmlcell.h This cell changes the colour of either the background or the foreground. @@ -56,7 +55,6 @@ public: /** @class wxHtmlWidgetCell - @headerfile htmlcell.h wx/html/htmlcell.h wxHtmlWidgetCell is a class that provides a connection between HTML cells and widgets (an object derived @@ -90,7 +88,6 @@ public: /** @class wxHtmlCell - @headerfile htmlcell.h wx/html/htmlcell.h Internal data structure. It represents fragments of parsed HTML page, the so-called @b cell - a word, picture, table, horizontal line and so on. @@ -173,7 +170,7 @@ public: @param param Optional parameters */ - virtual const wxHtmlCell* Find(int condition, const void* param); + virtual const wxHtmlCell* Find(int condition, const void* param) const; /** Returns descent value of the cell (m_Descent member). @@ -189,7 +186,7 @@ public: finding particular cell in the list, try Find() method instead. */ - wxHtmlCell* GetFirstChild(); + virtual wxHtmlCell* GetFirstChild() const; /** Returns height of the cell (m_Height member). @@ -219,7 +216,7 @@ public: @param window interface to the parent HTML window */ - virtual wxCursor GetMouseCursor(wxHtmlWindowInterface* window); + virtual wxCursor GetMouseCursor(wxHtmlWindowInterface* window) const; /** Returns pointer to the next cell in list (see htmlcell.h if you're @@ -309,14 +306,13 @@ public: /** Sets the cell's position within parent container. */ - void SetPos(int x, int y); + virtual void SetPos(int x, int y); }; /** @class wxHtmlContainerCell - @headerfile htmlcell.h wx/html/htmlcell.h The wxHtmlContainerCell class is an implementation of a cell that may contain more cells in it. It is heavily used in the wxHTML layout algorithm. @@ -680,7 +676,6 @@ public: /** @class wxHtmlLinkInfo - @headerfile htmlcell.h wx/html/htmlcell.h This class stores all necessary information about hypertext links (as represented by @c A tag in HTML documents). In @@ -708,25 +703,25 @@ public: only within wxHtmlWindow::OnLinkClicked, @NULL otherwise. */ - const wxMouseEvent* GetEvent(); + const wxMouseEvent* GetEvent() const; /** Return @e HREF value of the @c A tag. */ - wxString GetHref(); + wxString GetHref() const; /** Return pointer to the cell that was clicked. Valid only within wxHtmlWindow::OnLinkClicked, @NULL otherwise. */ - const wxHtmlCell* GetHtmlCell(); + const wxHtmlCell* GetHtmlCell() const; /** Return @e TARGET value of the @c A tag (this value is used to specify in which frame should be the page pointed by @ref gethref() Href opened). */ - wxString GetTarget(); + wxString GetTarget() const; };