From 65751a0ee7a4cfaef9f459c29bfd67f5be6d893b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 2 Aug 2008 22:24:15 +0000 Subject: [PATCH] compilation fix after last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 9b5d7cac6b..57f68bc340 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -943,7 +943,8 @@ bool wxLaunchDefaultApplication(const wxString& document, int flags) #ifdef __WXMAC__ static const char * const OPEN_CMD = "/usr/bin/open"; - if ( wxFileExists(OPEN_CMD) && wxExecute(OPEN_CMD + " " + document) ) + if ( wxFileExists(OPEN_CMD) && + wxExecute(wxString(OPEN_CMD) + " " + document) ) return true; #elif defined(__UNIX__) // Our best best is to use xdg-open from freedesktop.org cross-desktop -- 2.45.2