X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5fb7191bb31abd401e3329e50a12d333388b402..28d52eed36a2b4ee6ea36b3c5d4861b3ea292074:/include/wx/help.h diff --git a/include/wx/help.h b/include/wx/help.h index eb1575cd84..3c7cd47280 100644 --- a/include/wx/help.h +++ b/include/wx/help.h @@ -1,21 +1,19 @@ -#ifndef __HELPH_BASE__ -#define __HELPH_BASE__ +#ifndef _WX_HELP_H_BASE_ +#define _WX_HELP_H_BASE_ -#ifdef __WINDOWS__ -#include "wx/msw/helpwin.h" -#elif defined(__GTK__) -#include "wx/generic/helphtml.h" -#else -#include "wx/generic/helpxlp.h" -#endif +#include "wx/helpbase.h" -#ifdef __WINDOWS__ -#define wxHelpController wxWinHelpController -#elif defined(__GTK__) -#define wxHelpController wxHTMLHelpController -#else -#define wxHelpController wxXLPHelpController -#endif +#ifdef __WXMSW__ + #include "wx/msw/helpwin.h" + + #define wxHelpController wxWinHelpController + #define sm_classwxHelpController sm_classwxWinHelpController +#else // !MSW + #include "wx/generic/helpext.h" + + #define wxHelpController wxExtHelpController + #define sm_classwxHelpController sm_classwxExtHelpController +#endif // MSW/!MSW #endif - // __HELPH_BASE__ + // _WX_HELP_H_BASE_