applied Otto Wyss' patch to extend wxHelpController::KeywordSearch with mode argument (modified to the point of reimplementation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -20,8 +20,8 @@
 | 
			
		||||
 | 
			
		||||
#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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user