]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/helpchm.h
Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
[wxWidgets.git] / include / wx / msw / helpchm.h
index 4a9fd55a858a5aa038bfe58a245fd72bf66d2e8a..859290f94ca462c0f25fe364c97a82f359578220 100644 (file)
@@ -19,8 +19,7 @@
 class WXDLLEXPORT wxCHMHelpController : public wxHelpControllerBase
 {
 public:
-    wxCHMHelpController() { }
-    virtual ~wxCHMHelpController();
+    wxCHMHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) { }
 
     // 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;