#endif
#include "wx/helpbase.h"
+#include "wx/frame.h"
/// Name for map file.
#define WXEXTHELP_MAPFILE "wxhelp.map"
/// Path separator.
+#ifdef __WXMSW__
+#define WXEXTHELP_SEPARATOR '\\'
+#else
#define WXEXTHELP_SEPARATOR '/'
+#endif
/// Maximum line length in map file.
#define WXEXTHELP_BUFLEN 512
/// Character introducing comments/documentation field in map file.
/// 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;