X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5fb7191bb31abd401e3329e50a12d333388b402..4c0a2c5c3eb089b70bcbe05325f1043b49358f13:/include/wx/help.h diff --git a/include/wx/help.h b/include/wx/help.h index eb1575cd84..98f7cee571 100644 --- a/include/wx/help.h +++ b/include/wx/help.h @@ -1,21 +1,16 @@ -#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/helpbase.h" +#endif // MSW/!MSW #endif - // __HELPH_BASE__ + // _WX_HELP_H_BASE_