]>
Commit | Line | Data |
---|---|---|
34138703 JS |
1 | #ifndef _WX_HELP_H_BASE_ |
2 | #define _WX_HELP_H_BASE_ | |
c801d85f | 3 | |
88ac883a | 4 | #include "wx/helpbase.h" |
c801d85f | 5 | |
2049ba38 | 6 | #ifdef __WXMSW__ |
88ac883a VZ |
7 | #include "wx/msw/helpwin.h" |
8 | ||
9 | #define wxHelpController wxWinHelpController | |
10 | #define sm_classwxHelpController sm_classwxWinHelpController | |
11 | #else // !MSW | |
7c4a59a8 JS |
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 | ||
88ac883a | 28 | #endif // MSW/!MSW |
e5fb7191 | 29 | |
c801d85f | 30 | #endif |
34138703 | 31 | // _WX_HELP_H_BASE_ |