(run-time) fix for !wxUSE_IPC build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-20 00:07:31 +00:00
parent 0765adca2b
commit 6e7ce6246c

View File

@@ -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)