diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h
index e3b1abce93..a73d4f9403 100644
--- a/include/wx/html/htmlcell.h
+++ b/include/wx/html/htmlcell.h
@@ -312,6 +312,7 @@ protected:
wxString m_id;
// unique identifier of the cell, generated from "id" property of tags
+ DECLARE_ABSTRACT_CLASS(wxHtmlCell)
DECLARE_NO_COPY_CLASS(wxHtmlCell)
};
@@ -349,6 +350,7 @@ protected:
wxString m_Word;
bool m_allowLinebreak;
+ DECLARE_ABSTRACT_CLASS(wxHtmlWordCell)
DECLARE_NO_COPY_CLASS(wxHtmlWordCell)
};
@@ -456,6 +458,7 @@ protected:
// if != -1 then call to Layout may be no-op
// if previous call to Layout has same argument
+ DECLARE_ABSTRACT_CLASS(wxHtmlContainerCell)
DECLARE_NO_COPY_CLASS(wxHtmlContainerCell)
};
@@ -485,6 +488,7 @@ protected:
wxColour m_Colour;
unsigned m_Flags;
+ DECLARE_ABSTRACT_CLASS(wxHtmlColourCell)
DECLARE_NO_COPY_CLASS(wxHtmlColourCell)
};
@@ -508,6 +512,7 @@ public:
protected:
wxFont m_Font;
+ DECLARE_ABSTRACT_CLASS(wxHtmlFontCell)
DECLARE_NO_COPY_CLASS(wxHtmlFontCell)
};
@@ -543,6 +548,7 @@ protected:
int m_WidthFloat;
// width float is used in adjustWidth (it is in percents)
+ DECLARE_ABSTRACT_CLASS(wxHtmlWidgetCell)
DECLARE_NO_COPY_CLASS(wxHtmlWidgetCell)
};
diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h
index d25621df77..e7417a9434 100644
--- a/include/wx/html/winpars.h
+++ b/include/wx/html/winpars.h
@@ -38,6 +38,7 @@ class WXDLLIMPEXP_HTML wxHtmlTagsModule;
class WXDLLIMPEXP_HTML wxHtmlWinParser : public wxHtmlParser
{
+ DECLARE_ABSTRACT_CLASS(wxHtmlWinParser)
friend class wxHtmlWindow;
public:
diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp
index c62a65ace0..7d38d30994 100644
--- a/src/html/htmlcell.cpp
+++ b/src/html/htmlcell.cpp
@@ -87,6 +87,8 @@ GetSelectedTextBgColour(const wxColour& WXUNUSED(clr))
// wxHtmlCell
//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlCell, wxObject)
+
wxHtmlCell::wxHtmlCell() : wxObject()
{
m_Next = NULL;
@@ -252,6 +254,8 @@ bool wxHtmlCell::IsBefore(wxHtmlCell *cell) const
// wxHtmlWordCell
//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWordCell, wxHtmlCell)
+
wxHtmlWordCell::wxHtmlWordCell(const wxString& word, wxDC& dc) : wxHtmlCell()
{
m_Word = word;
@@ -519,6 +523,7 @@ wxCursor wxHtmlWordCell::GetCursor() const
// wxHtmlContainerCell
//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlContainerCell, wxHtmlCell)
wxHtmlContainerCell::wxHtmlContainerCell(wxHtmlContainerCell *parent) : wxHtmlCell()
{
@@ -1164,6 +1169,8 @@ void wxHtmlContainerCell::RemoveExtraSpacing(bool top, bool bottom)
// wxHtmlColourCell
// --------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlColourCell, wxHtmlCell)
+
void wxHtmlColourCell::Draw(wxDC& dc,
int x, int y,
int WXUNUSED(view_y1), int WXUNUSED(view_y2),
@@ -1210,6 +1217,8 @@ void wxHtmlColourCell::DrawInvisible(wxDC& dc,
// wxHtmlFontCell
// ---------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlFontCell, wxHtmlCell)
+
void wxHtmlFontCell::Draw(wxDC& dc,
int WXUNUSED(x), int WXUNUSED(y),
int WXUNUSED(view_y1), int WXUNUSED(view_y2),
@@ -1235,6 +1244,8 @@ void wxHtmlFontCell::DrawInvisible(wxDC& dc, int WXUNUSED(x), int WXUNUSED(y),
// wxHtmlWidgetCell
// ---------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWidgetCell, wxHtmlCell)
+
wxHtmlWidgetCell::wxHtmlWidgetCell(wxWindow *wnd, int w)
{
int sx, sy;
diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp
index 0709e77518..e66c242518 100644
--- a/src/html/winpars.cpp
+++ b/src/html/winpars.cpp
@@ -38,6 +38,7 @@
// wxHtmlWinParser
//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWinParser, wxHtmlParser)
wxList wxHtmlWinParser::m_Modules;