+ }
+}
+
+
+
+bool wxHtmlCell::AdjustPagebreak(int *pagebreak) const
+{
+ if ((!m_CanLiveOnPagebreak) &&
+ m_PosY < *pagebreak && m_PosY + m_Height > *pagebreak)
+ {
+ *pagebreak = m_PosY;
+ if (m_Next != NULL) m_Next->AdjustPagebreak(pagebreak);
+ return TRUE;
+ }
+
+ else
+ {
+ if (m_Next != NULL) return m_Next->AdjustPagebreak(pagebreak);
+ else return FALSE;
+ }
+}
+
+
+
+void wxHtmlCell::SetLink(const wxHtmlLinkInfo& link)
+{
+ if (m_Link) delete m_Link;
+ m_Link = NULL;
+ if (link.GetHref() != wxEmptyString)
+ m_Link = new wxHtmlLinkInfo(link);
+}
+
+
+
+void wxHtmlCell::Layout(int w)
+{
+ SetPos(0, 0);
+ if (m_Next) m_Next->Layout(w);
+}
+
+
+void wxHtmlCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2)
+{
+ if (m_Next) m_Next->Draw(dc, x, y, view_y1, view_y2);
+}
+
+
+
+void wxHtmlCell::DrawInvisible(wxDC& dc, int x, int y)
+{
+ if (m_Next) m_Next->DrawInvisible(dc, x, y);
+}
+
+
+
+const wxHtmlCell* wxHtmlCell::Find(int condition, const void* param) const
+{
+ if (m_Next) return m_Next->Find(condition, param);
+ else return NULL;