X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..5ea4780630b335a1b8b2d3a94c0b82e46f4c56f6:/include/wx/generic/helphtml.h?ds=inline diff --git a/include/wx/generic/helphtml.h b/include/wx/generic/helphtml.h index dc16448f21..647d54549c 100644 --- a/include/wx/generic/helphtml.h +++ b/include/wx/generic/helphtml.h @@ -20,7 +20,11 @@ /// 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. @@ -114,6 +118,22 @@ 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. + virtual void GetFrameParameters(wxSize *size = NULL, + wxPoint *pos = NULL, + bool *newFrameEachTime = NULL) + { + // does nothing by default + } + protected: /// Filename of currently active map file. wxString m_MapFile;