+
+
+#ifdef __WXMSW__
+ wxString url;
+ url << m_MapFile << '\\' << relativeURL.BeforeFirst('#');
+ bool bOk = (int)ShellExecute(NULL, "open", url,
+ NULL, NULL, SW_SHOWNORMAL ) > 32;
+ if ( !bOk )
+ {
+ wxLogSysError(_("Cannot open URL '%s'"), relativeURL.c_str());
+ return false;
+ }
+ else
+ return true;
+#else
+ // assume UNIX