# include <unistd.h>
#endif
+#ifdef __WXMAC__
+ #include "wx/mac/private.h"
+#endif
+
IMPLEMENT_CLASS(wxHelpControllerHtml, wxHTMLHelpControllerBase)
/**
wxBusyCursor b; // display a busy cursor
wxString url;
- url << m_MapFile << SEP<< relativeURL;
+ wxString mapfileurl = m_MapFile ;
+#if defined(__WXMAC__) && !defined(__DARWIN__)
+ mapfileurl = wxMac2UnixFilename(m_MapFile) ;
+#endif
+ url << mapfileurl << SEP<< relativeURL;
if(! m_Frame || m_NewFrameEachTime)
{
m_Frame = new wxHelpFrame(NULL, -1, m_FrameTitle,