From: Vadim Zeitlin Date: Thu, 20 Jan 2000 00:07:31 +0000 (+0000) Subject: (run-time) fix for !wxUSE_IPC build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6e7ce6246c2952fd844f6b3f05f25719d82e0584 (run-time) fix for !wxUSE_IPC build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/mimetype.cpp b/src/msw/mimetype.cpp index 7d09acec8b..e499d2b960 100644 --- a/src/msw/mimetype.cpp +++ b/src/msw/mimetype.cpp @@ -133,6 +133,7 @@ wxString wxFileTypeImpl::GetCommand(const wxChar *verb) const } } +#if wxUSE_DDE // look whether we must issue some DDE requests to the application // (and not just launch it) strKey += _T("\\DDEExec"); @@ -155,7 +156,9 @@ wxString wxFileTypeImpl::GetCommand(const wxChar *verb) const << _T('#') << ddeTopic << _T('#') << ddeCommand; } - else if ( !foundFilename ) { + else +#endif // wxUSE_DDE + if ( !foundFilename ) { // we didn't find any '%1' - the application doesn't know which // file to open (note that we only do it if there is no DDEExec // subkey)