-#define wxHelpController wxWinHelpController
-#define sm_classwxHelpController sm_classwxWinHelpController
+ #include "wx/msw/helpwin.h"
+
+ #define wxHelpController wxWinHelpController
+ #define sm_classwxHelpController sm_classwxWinHelpController
+#else // !MSW
+
+#if wxUSE_WXHTML_HELP
+ #include "wx/html/helpctrl.h"
+ #define wxHelpController wxHtmlHelpController
+ #define sm_classwxHelpController sm_classwxHtmlHelpController