From 8a81391cf479a9fe7a977a45febdb30fbfd9c36e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 20 Jul 2020 21:09:43 +0200 Subject: [PATCH] Make wx/htmllbox.h self-contained again Fix problem with wxUSE_HTML added in 05cce8d89d (Add wxUSE_HTML check to wxHtmlListBox header, 2020-05-28) not being defined when this header is the first one to be included. --- include/wx/htmllbox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/htmllbox.h b/include/wx/htmllbox.h index 7f69404903..a65fa566e5 100644 --- a/include/wx/htmllbox.h +++ b/include/wx/htmllbox.h @@ -11,6 +11,8 @@ #ifndef _WX_HTMLLBOX_H_ #define _WX_HTMLLBOX_H_ +#include "wx/defs.h" + #if wxUSE_HTML #include "wx/vlbox.h" // base class