diff --git a/interface/wx/htmllbox.h b/interface/wx/htmllbox.h
index d34646abd7..38fc4ab3e8 100644
--- a/interface/wx/htmllbox.h
+++ b/interface/wx/htmllbox.h
@@ -201,7 +201,8 @@ protected:
@see wxSimpleHtmlListBox::Create
*/
-class wxSimpleHtmlListBox : public wxHtmlListBox
+class wxSimpleHtmlListBox : public wxHtmlListBox,
+ public wxItemContainer
{
public:
/**