]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/helpbase.h
forgot wx.rc
[wxWidgets.git] / include / wx / helpbase.h
index b93771f8064d14bbbe22f2602b3f0be8b298a578..2594d10f46e6adbeefde3e0b8115a08a5e760ab5 100644 (file)
@@ -52,6 +52,20 @@ class WXDLLEXPORT wxHelpControllerBase: public wxObject
   virtual void OnQuit(void) {};
 };
 
+
+/* By default, if wxHTML is compiled in, use the
+   wxHelpControllerHtml. If not, use the external help controller. */
+#if wxUSE_HTML
+#   include "wx/generic/helpwxht.h"
+#   define wxHelpController wxHelpControllerHtml
+#   define sm_classwxHelpController sm_classwxHelpControllerHtml
+#else
+#   include "wx/generic/helpext.h"
+#   define wxHelpController wxExtHelpController
+#   define sm_classwxHelpController sm_classwxExtHelpController
+#endif
+
+
 #endif // wxUSE_HELP
 #endif
     // _WX_HELPBASEH__