diff --git a/include/wx/generic/helphtml.h b/include/wx/generic/helphtml.h
index 44a5cbc4a2..faa99f964b 100644
--- a/include/wx/generic/helphtml.h
+++ b/include/wx/generic/helphtml.h
@@ -18,19 +18,6 @@
#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.
-#define WXEXTHELP_COMMENTCHAR ';'
-
class WXDLLEXPORT wxExtHelpMapList;
diff --git a/src/generic/helphtml.cpp b/src/generic/helphtml.cpp
index 1f3f59250f..21c1c6f4d4 100644
--- a/src/generic/helphtml.cpp
+++ b/src/generic/helphtml.cpp
@@ -44,6 +44,23 @@
#include
#endif
+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+/// 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.
+#define WXEXTHELP_COMMENTCHAR ';'
+
#define CONTENTS_ID 0
class wxExtHelpMapEntry : public wxObject