diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h
index 11a5e82961..3e0e6e9264 100644
--- a/include/wx/html/helpfrm.h
+++ b/include/wx/html/helpfrm.h
@@ -33,7 +33,9 @@
#include "wx/stattext.h"
#include "wx/html/htmlwin.h"
#include "wx/html/htmprint.h"
+
class WXDLLEXPORT wxButton;
+class WXDLLEXPORT wxTextCtrl;
// style flags for the Help Frame