diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 57f68bc340..3186968dfc 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -964,7 +964,7 @@ bool wxLaunchDefaultApplication(const wxString& document, int flags) ( NULL, // parent window _T("open"), - document, + document.wx_str(), NULL, // parameters NULL, // working directory SW_SHOWDEFAULT