]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpctrl.h
fixed wxGetKeyState to get current status of non-togle keys, and to
[wxWidgets.git] / include / wx / html / helpctrl.h
index 573641ac23b8b2aa6f4099f9c32723f26eb99c3f..06e6bdc7ee8dee4e219f8cce28e8118856914213 100644 (file)
 
 #include "wx/defs.h"
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "helpctrl.h"
 #endif
 
 #if wxUSE_WXHTML_HELP
 
-#include "wx/html/helpfrm.h"
 #include "wx/helpbase.h"
+#include "wx/html/helpfrm.h"
 
 #define wxID_HTML_HELPFRAME   (wxID_HIGHEST + 1)
 
@@ -42,7 +42,8 @@ public:
     bool Display(int id);
     bool DisplayContents();
     bool DisplayIndex();
-    bool KeywordSearch(const wxString& keyword);
+    bool KeywordSearch(const wxString& keyword,
+                       wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
 
     wxHtmlHelpFrame* GetFrame() { return m_helpFrame; }
     void UseConfig(wxConfigBase *config, const wxString& rootpath = wxEmptyString);