git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58274
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( uri.GetScheme() == "file" )
{
if ( uri.GetScheme() == "file" )
{
+ // TODO: extract URLToFileName() to some always compiled in
+ // function
+#if wxUSE_FILESYSTEM
// ShellExecuteEx() doesn't like the "file" scheme when opening local files;
// remove it
url = wxFileSystem::URLToFileName(url).GetFullPath();
// ShellExecuteEx() doesn't like the "file" scheme when opening local files;
// remove it
url = wxFileSystem::URLToFileName(url).GetFullPath();
+#endif // wxUSE_FILESYSTEM