Weird behavior with wxLaunchDefaultBrowser

W. C. Bubel inmatarian at gmail.com
Fri Jul 13 12:20:42 PDT 2007


Alright, stop me if you've heard this one, but the following code asks me
where I want to first Copy index.html, and then where do I want to Move
index.html, before launching the file (in firefox).

void MyFrame::OnHelp(wxCommandEvent& WXUNUSED(event))
{
  wxString uri =3D wxString::Format("file://%s/doc/index.html",
wxGetCwd().c_str() );
  wxLaunchDefaultBrowser(uri);
}

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070713/e94=
a131a/attachment.htm


More information about the wx-users mailing list