Added wxHelpControllerHtml, derived from wxHtmlHelpControllerBase. API like
wxExtHelpController and fully backwards compatible with the "old" help controller. Docs follow tomorrow. Modified sample to use it if wxHTML is compiled in. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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__
|
||||
|
Reference in New Issue
Block a user