]> git.saurik.com Git - wxWidgets.git/blob - include/wx/help.h
corrected control inheritance
[wxWidgets.git] / include / wx / help.h
1 #ifndef _WX_HELP_H_BASE_
2 #define _WX_HELP_H_BASE_
3
4 #include "wx/helpbase.h"
5
6 #ifdef __WXMSW__
7 #include "wx/msw/helpwin.h"
8
9 #define wxHelpController wxWinHelpController
10 #define sm_classwxHelpController sm_classwxWinHelpController
11 #else // !MSW
12
13 /* By default, if wxHTML is compiled in, use the
14 wxHelpControllerHtml. If not, use the external help controller.
15 (of course, we shouldn't do it for wxMSW)
16 */
17
18 #if wxUSE_HTML
19 # include "wx/generic/helpwxht.h"
20 # define wxHelpController wxHelpControllerHtml
21 # define sm_classwxHelpController sm_classwxHelpControllerHtml
22 #else
23 # include "wx/generic/helpext.h"
24 # define wxHelpController wxExtHelpController
25 # define sm_classwxHelpController sm_classwxExtHelpController
26 #endif
27
28 #endif // MSW/!MSW
29
30 #endif
31 // _WX_HELP_H_BASE_