-#ifdef __WINDOWS__
-#define wxHelpController wxWinHelpController
-#define classwxHelpController classwxWinHelpController
-#elif defined(__GTK__)
-#define wxHelpController wxHTMLHelpController
-#define classwxHelpController classwxHTMLHelpController
-#else
-#define wxHelpController wxXLPHelpController
-#define classwxHelpController classwxXLPHelpController
-#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