- private:
- wxString m_AnchorName;
-
- public:
- wxHtmlAnchorCell(const wxString& name) : wxHtmlCell() {m_AnchorName = name;}
- virtual const wxHtmlCell* Find(int condition, const void* param) const
+private:
+ wxString m_AnchorName;
+
+public:
+ wxHtmlAnchorCell(const wxString& name) : wxHtmlCell()
+ { m_AnchorName = name; }
+ void Draw(wxDC& WXUNUSED(dc),
+ int WXUNUSED(x), int WXUNUSED(y),
+ int WXUNUSED(view_y1), int WXUNUSED(view_y2),
+ wxHtmlRenderingInfo& WXUNUSED(info)) {}
+
+ virtual const wxHtmlCell* Find(int condition, const void* param) const
+ {
+ if ((condition == wxHTML_COND_ISANCHOR) &&
+ (m_AnchorName == (*((const wxString*)param))))
+ {
+ return this;
+ }
+ else