X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33b64e6f8b7cf372a569e61d7eee879217945043..bcbc841d417b8365e869003bb0552166f3ece204:/include/wx/helpbase.h diff --git a/include/wx/helpbase.h b/include/wx/helpbase.h index b93771f806..2594d10f46 100644 --- a/include/wx/helpbase.h +++ b/include/wx/helpbase.h @@ -52,6 +52,20 @@ class WXDLLEXPORT wxHelpControllerBase: public wxObject virtual void OnQuit(void) {}; }; + +/* By default, if wxHTML is compiled in, use the + wxHelpControllerHtml. If not, use the external help controller. */ +#if wxUSE_HTML +# include "wx/generic/helpwxht.h" +# define wxHelpController wxHelpControllerHtml +# define sm_classwxHelpController sm_classwxHelpControllerHtml +#else +# include "wx/generic/helpext.h" +# define wxHelpController wxExtHelpController +# define sm_classwxHelpController sm_classwxExtHelpController +#endif + + #endif // wxUSE_HELP #endif // _WX_HELPBASEH__