wxLaunchDefaultBrowser usage/problems/

Brian Vanderburg II BrianVanderburg2 at aim.com
Wed Dec 5 12:53:11 PST 2007


I'm using wxWidgets 2.8.5 on MSW and 2.8.3 on Linux.

On MSW, when I use wxLaunchDefaultBrowser, I get a message 'Windows can 
not find the file ....  Make sure you typed the name correctly and then 
try again ...'.  But, it opens in FireFox just the same.

On GTK, when it is used, firefox opens and start doing  a lookup of 
'home'.  Debugging shows that the URL passed is 
'/home/allen/test/testinst/usr/local/share/app/help/index.html', and the 
file does exist.  Perhaps a way to fix this would be to convert it to a 
file URL.  Is there any way to do this in a platform independent manor, 
no matter if hte input file is in windows or linux or mac format to 
create file:///...?

The second problem could probably be solved by the way mentioned, but 
how can I fix the first issue.


Brian Vanderburg II




More information about the wx-users mailing list