show native-looking (with 3D shadow) help tooltips for context help, if possible, using wxCHMHelpController

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-06-14 17:46:51 +00:00
parent 7cf41a5d66
commit 392c5133ff
3 changed files with 110 additions and 79 deletions

View File

@@ -20,7 +20,6 @@ class WXDLLEXPORT wxCHMHelpController : public wxHelpControllerBase
{
public:
wxCHMHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) { }
virtual ~wxCHMHelpController();
// Must call this to set the filename
virtual bool Initialize(const wxString& file);
@@ -40,6 +39,11 @@ public:
wxString GetHelpFile() const { return m_helpFile; }
// helper of DisplayTextPopup(), also used in wxSimpleHelpProvider::ShowHelp
static bool ShowContextHelpPopup(const wxString& text,
const wxPoint& pos,
wxWindow *window);
protected:
// Append extension if necessary.
wxString GetValidFilename(const wxString& file) const;