X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cc5a448dc310ace36a4d5ef47121d86cee131e5..a29c6824c21bca8e66fdd0c7a64b65e8935bdbcd:/include/wx/generic/helphtml.h diff --git a/include/wx/generic/helphtml.h b/include/wx/generic/helphtml.h index faa99f964b..8e81689988 100644 --- a/include/wx/generic/helphtml.h +++ b/include/wx/generic/helphtml.h @@ -11,13 +11,22 @@ #if wxUSE_HELP -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma interface "helphtml.h" #endif #include "wx/helpbase.h" #include "wx/frame.h" +/// Path separator. +#ifdef __WXMSW__ +#define WXEXTHELP_SEPARATOR _T('\\') +#elif defined(__WXMAC__) +#define WXEXTHELP_SEPARATOR _T(':') +#else +#define WXEXTHELP_SEPARATOR _T('/') +#endif + class WXDLLEXPORT wxExtHelpMapList; @@ -77,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