compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
85f818733c
commit
65751a0ee7
@ -943,7 +943,8 @@ bool wxLaunchDefaultApplication(const wxString& document, int flags)
|
|||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
static const char * const OPEN_CMD = "/usr/bin/open";
|
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;
|
return true;
|
||||||
#elif defined(__UNIX__)
|
#elif defined(__UNIX__)
|
||||||
// Our best best is to use xdg-open from freedesktop.org cross-desktop
|
// Our best best is to use xdg-open from freedesktop.org cross-desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user