Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv15970
Modified Files:
ExportMP3.cpp
Log Message:
Use Vaughan's OpenInDefaultBrowser() function
Index: ExportMP3.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportMP3.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- ExportMP3.cpp 22 Mar 2007 05:17:53 -0000 1.51
+++ ExportMP3.cpp 22 Mar 2007 05:24:31 -0000 1.52
@@ -706,14 +706,7 @@
void OnDownload(wxCommandEvent & event)
{
wxString page = wxT("http://audacity.sourceforge.net/lame");
-#if defined(__WXMAC__)
- ::wxExecute(wxT("open ") + page);
-#else
- wxFileType* pFileType =
wxTheMimeTypesManager->GetFileTypeFromExtension(wxT(".htm"));
- if (pFileType != NULL) {
- ::wxExecute(pFileType->GetOpenCommand(page));
- }
-#endif
+ ::OpenInDefaultBrowser(page);
}
wxString GetLibPath()
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs