#ifndef _WX_HELPBEST_H_
#define _WX_HELPBEST_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "helpbest.h"
#endif
// Must call this to set the filename
virtual bool Initialize(const wxString& file);
+ virtual bool Initialize(const wxString& file, int WXUNUSED(server) ) { return Initialize( file ); }
// If file is "", reloads file given in Initialize
virtual bool LoadFile(const wxString& file = wxEmptyString)
return m_helpController->DisplayTextPopup( text, pos );
}
- virtual bool KeywordSearch(const wxString& k)
+ virtual bool KeywordSearch(const wxString& k,
+ wxHelpSearchMode mode = wxHELP_SEARCH_ALL)
{
- return m_helpController->KeywordSearch( k );
+ return m_helpController->KeywordSearch( k, mode );
}
virtual bool Quit()