diff --git a/include/wx/msw/helpbest.h b/include/wx/msw/helpbest.h index 003f100e8e..5c735c65d9 100644 --- a/include/wx/msw/helpbest.h +++ b/include/wx/msw/helpbest.h @@ -16,7 +16,8 @@ #pragma interface "helpbest.h" #endif -#if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) && wxUSE_WXHTML_HELP +#if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) \ + && wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__) #include "wx/helpbase.h" diff --git a/src/msw/helpbest.cpp b/src/msw/helpbest.cpp index be1e404cde..bb1aad5059 100644 --- a/src/msw/helpbest.cpp +++ b/src/msw/helpbest.cpp @@ -27,7 +27,9 @@ #include "wx/filefn.h" #include "wx/log.h" -#if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) && wxUSE_WXHTML_HELP +#if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) \ + && wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__) + #include "wx/msw/helpchm.h" #include "wx/html/helpctrl.h" #include "wx/msw/helpbest.h"