]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/helphtml.h
added DLL exports
[wxWidgets.git] / include / wx / generic / helphtml.h
index 83c87fd1a13e8091d9b5314e5063ff20f3ef1664..68bdd47de529f547ace43945e33074c99f4548dd 100644 (file)
@@ -16,6 +16,7 @@
 #endif
 
 #include "wx/helpbase.h"
+#include "wx/frame.h"
 
 /// Name for map file.
 #define WXEXTHELP_MAPFILE   "wxhelp.map"
@@ -118,6 +119,23 @@ DECLARE_ABSTRACT_CLASS(wxHTMLHelpControllerBase)
    /// Call the browser using a relative URL.
    virtual bool DisplayHelp(wxString const &) = 0;
 
+   /// Allows one to override the default settings for the help frame.
+   virtual void SetFrameParameters(const wxString &title,
+                                   const wxSize &size,
+                                   const wxPoint &pos = wxDefaultPosition,
+                                   bool newFrameEachTime = FALSE)
+      {
+         // does nothing by default
+      }
+   /// Obtains the latest settings used by the help frame and the help 
+   /// frame.
+   virtual wxFrame *GetFrameParameters(wxSize *size = NULL,
+                                   wxPoint *pos = NULL,
+                                   bool *newFrameEachTime = NULL)
+      {
+         return (wxFrame*) NULL;// does nothing by default
+      }
+
  protected:
    /// Filename of currently active map file.
    wxString         m_MapFile;