diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h
index 88eb7fe9f5..77a34fcde9 100644
--- a/include/wx/html/htmprint.h
+++ b/include/wx/html/htmprint.h
@@ -93,7 +93,7 @@ private:
wxHtmlWinParser *m_Parser;
wxFileSystem *m_FS;
wxHtmlContainerCell *m_Cells;
- int m_MaxWidth, m_Width, m_Height;
+ int m_Width, m_Height;
wxDECLARE_NO_COPY_CLASS(wxHtmlDCRenderer);
};
diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp
index 4c6e3ed178..ae27baf634 100644
--- a/src/html/helpdata.cpp
+++ b/src/html/helpdata.cpp
@@ -140,7 +140,6 @@ class HP_TagHandler : public wxHtmlTagHandler
wxString m_name, m_page;
int m_level;
int m_id;
- int m_index;
int m_count;
wxHtmlHelpDataItem *m_parentItem;
wxHtmlBookRecord *m_book;