-#define wxHelpController wxWinHelpController
-#define classwxHelpController classwxWinHelpController
-#elif defined(__WXGTK__)
-#define wxHelpController wxHTMLHelpController
-#define classwxHelpController classwxHTMLHelpController
-#else
-#define wxHelpController wxXLPHelpController
-#define classwxHelpController classwxXLPHelpController
-#endif
+ #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