(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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user