Add wxUSE_HTML check to wxHtmlListBox header

Avoid compilation errors if wx/htmllbox.h gets included when wxUSE_HTML
is off.
This commit is contained in:
Arrigo Marchiori 2020-05-28 07:08:41 +02:00 committed by Vadim Zeitlin
parent 3aaa31e703
commit 05cce8d89d

View file

@ -11,6 +11,8 @@
#ifndef _WX_HTMLLBOX_H_
#define _WX_HTMLLBOX_H_
#if wxUSE_HTML
#include "wx/vlbox.h" // base class
#include "wx/html/htmlwin.h"
#include "wx/ctrlsub.h"
@ -320,5 +322,7 @@ protected:
wxDECLARE_NO_COPY_CLASS(wxSimpleHtmlListBox);
};
#endif // wxUSE_HTML
#endif // _WX_HTMLLBOX_H_