X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c17ba76f38f7ef27a8a8f3710727a365e9c23de1:/include/wx/generic/helphtml.h diff --git a/include/wx/generic/helphtml.h b/include/wx/generic/helphtml.h index 44a5cbc4a2..8e81689988 100644 --- a/include/wx/generic/helphtml.h +++ b/include/wx/generic/helphtml.h @@ -11,25 +11,21 @@ #if wxUSE_HELP -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma interface "helphtml.h" #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 '\\' +#define WXEXTHELP_SEPARATOR _T('\\') +#elif defined(__WXMAC__) +#define WXEXTHELP_SEPARATOR _T(':') #else -#define WXEXTHELP_SEPARATOR '/' +#define WXEXTHELP_SEPARATOR _T('/') #endif -/// Maximum line length in map file. -#define WXEXTHELP_BUFLEN 512 -/// Character introducing comments/documentation field in map file. -#define WXEXTHELP_COMMENTCHAR ';' class WXDLLEXPORT wxExtHelpMapList; @@ -90,7 +86,7 @@ DECLARE_ABSTRACT_CLASS(wxHTMLHelpControllerBase) @file Name of help directory. @return true on success */ - virtual bool LoadFile(const wxString& file = ""); + virtual bool LoadFile(const wxString& file = wxT("")); /** Display list of all help entries. @return true on success