]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/help.h
Some corrections
[wxWidgets.git] / include / wx / help.h
index eb1575cd8488b1205d89a9bcd97a4f58301b10ec..98f7cee571d1bfbddebe130a9063073864539e5a 100644 (file)
@@ -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
 
 #endif
-    // __HELPH_BASE__
+    // _WX_HELP_H_BASE_