diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp
index 46822c121a..aa9ea66ee1 100644
--- a/src/html/m_layout.cpp
+++ b/src/html/m_layout.cpp
@@ -77,7 +77,7 @@ public:
void Draw(wxDC& WXUNUSED(dc),
int WXUNUSED(x), int WXUNUSED(y),
int WXUNUSED(view_y1), int WXUNUSED(view_y2),
- wxHtmlRenderingState& WXUNUSED(state)) {}
+ wxHtmlRenderingInfo& WXUNUSED(info)) {}
private:
DECLARE_NO_COPY_CLASS(wxHtmlPageBreakCell)
diff --git a/src/html/m_links.cpp b/src/html/m_links.cpp
index c9881a1e58..4abb172953 100644
--- a/src/html/m_links.cpp
+++ b/src/html/m_links.cpp
@@ -41,7 +41,7 @@ public:
void Draw(wxDC& WXUNUSED(dc),
int WXUNUSED(x), int WXUNUSED(y),
int WXUNUSED(view_y1), int WXUNUSED(view_y2),
- wxHtmlRenderingState& WXUNUSED(state)) {}
+ wxHtmlRenderingInfo& WXUNUSED(info)) {}
virtual const wxHtmlCell* Find(int condition, const void* param) const
{