diff --git a/include/wx/htmllbox.h b/include/wx/htmllbox.h index 45a1765b58..f610b8383f 100644 --- a/include/wx/htmllbox.h +++ b/include/wx/htmllbox.h @@ -199,6 +199,7 @@ private: class WXDLLIMPEXP_HTML wxSimpleHtmlListBox : public wxHtmlListBox, public wxItemContainer { + DECLARE_ABSTRACT_CLASS(wxSimpleHtmlListBox) public: // wxListbox-compatible constructors // --------------------------------- diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 2bc89731c1..bf063faeae 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -599,6 +599,9 @@ void wxHtmlListBox::OnLeftDown(wxMouseEvent& event) // wxSimpleHtmlListBox // ---------------------------------------------------------------------------- +IMPLEMENT_ABSTRACT_CLASS(wxSimpleHtmlListBox, wxHtmlListBox) + + bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,