git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13879
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef WXEXTHELP_DEFAULTBROWSER
/// Default browser name.
#ifndef WXEXTHELP_DEFAULTBROWSER
/// Default browser name.
-# define WXEXTHELP_DEFAULTBROWSER "netscape"
+# define WXEXTHELP_DEFAULTBROWSER _T("netscape")
/// Is default browse a variant of netscape?
# define WXEXTHELP_DEFAULTBROWSER_IS_NETSCAPE TRUE
#endif
/// Is default browse a variant of netscape?
# define WXEXTHELP_DEFAULTBROWSER_IS_NETSCAPE TRUE
#endif
-/// Name of environment variable to set help browser.
-#define WXEXTHELP_ENVVAR_BROWSER "WX_HELPBROWSER"
-/// Is browser a netscape browser?
-#define WXEXTHELP_ENVVAR_BROWSERISNETSCAPE "WX_HELPBROWSER_NS"
/**
This class implements help via an external browser.
/**
This class implements help via an external browser.
#include "wx/helpbase.h"
#include "wx/frame.h"
#include "wx/helpbase.h"
#include "wx/frame.h"
+/// Path separator.
+#ifdef __WXMSW__
+#define WXEXTHELP_SEPARATOR _T('\\')
+#else
+#define WXEXTHELP_SEPARATOR _T('/')
+#endif
+
class WXDLLEXPORT wxExtHelpMapList;
class WXDLLEXPORT wxExtHelpMapList;
IMPLEMENT_CLASS(wxExtHelpController, wxHTMLHelpControllerBase)
IMPLEMENT_CLASS(wxExtHelpController, wxHTMLHelpControllerBase)
+/// Name of environment variable to set help browser.
+#define WXEXTHELP_ENVVAR_BROWSER "WX_HELPBROWSER"
+/// Is browser a netscape browser?
+#define WXEXTHELP_ENVVAR_BROWSERISNETSCAPE "WX_HELPBROWSER_NS"
+
/**
This class implements help via an external browser.
It requires the name of a directory containing the documentation
/**
This class implements help via an external browser.
It requires the name of a directory containing the documentation
// cannot use wxFileExists, because it's a link pointing to a
// non-existing location if(wxFileExists(lockfile))
#endif
// cannot use wxFileExists, because it's a link pointing to a
// non-existing location if(wxFileExists(lockfile))
#endif
long success;
command << m_BrowserName << wxT(" -remote openURL(")
<< wxT("file://") << m_MapFile
long success;
command << m_BrowserName << wxT(" -remote openURL(")
<< wxT("file://") << m_MapFile
/// Name for map file.
#define WXEXTHELP_MAPFILE _T("wxhelp.map")
/// Name for map file.
#define WXEXTHELP_MAPFILE _T("wxhelp.map")
-/// Path separator.
-#ifdef __WXMSW__
-#define WXEXTHELP_SEPARATOR _T('\\')
-#else
-#define WXEXTHELP_SEPARATOR _T('/')
-#endif
/// Maximum line length in map file.
#define WXEXTHELP_BUFLEN 512
/// Character introducing comments/documentation field in map file.
/// Maximum line length in map file.
#define WXEXTHELP_BUFLEN 512
/// Character introducing comments/documentation field in map file.