]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/help.h
added an extremely simple cell attr cache (yet it catches 80% of acccesses)
[wxWidgets.git] / include / wx / help.h
index 71bff121f68ac8e829fbd77f5238ef8bdfb1ae93..98f7cee571d1bfbddebe130a9063073864539e5a 100644 (file)
@@ -1,24 +1,16 @@
 #ifndef _WX_HELP_H_BASE_
 #define _WX_HELP_H_BASE_
 
-#ifdef __WXMSW__
-#include "wx/msw/helpwin.h"
-#elif defined(__WXGTK__)
-#include "wx/generic/helphtml.h"
-#else
-#include "wx/generic/helpxlp.h"
-#endif
+#include "wx/helpbase.h"
 
 #ifdef __WXMSW__
-#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/helpbase.h"
+#endif // MSW/!MSW
 
 #endif
     // _WX_HELP_H_BASE_