From: George Tasker Date: Tue, 18 Jan 2000 22:54:55 +0000 (+0000) Subject: Fixed so this file will compile if wxUSE_IPC is 0 (previous fix broke something else). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/039f62f43136b06b15444a7437b6c030efeaf76b?ds=sidebyside Fixed so this file will compile if wxUSE_IPC is 0 (previous fix broke something else). Changed _T() calls to wxT() calls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 9429ecb4f7..12a78c001a 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -185,6 +185,7 @@ long wxExecute(const wxString& cmd, bool sync, wxProcess *handler) { wxCHECK_MSG( !!cmd, 0, wxT("empty command in wxExecute") ); + wxString command; #if wxUSE_IPC // DDE hack: this is really not pretty, but we need to allow this for // transparent handling of DDE servers in wxMimeTypesManager. Usually it @@ -194,7 +195,7 @@ long wxExecute(const wxString& cmd, bool sync, wxProcess *handler) // keep all this well hidden from the application, we allow a special form // of command: WX_DDE::DDE_SERVER:DDE_TOPIC:DDE_COMMAND in which // case we execute just and process the rest below - wxString command, ddeServer, ddeTopic, ddeCommand; + wxString ddeServer, ddeTopic, ddeCommand; static const size_t lenDdePrefix = 7; // strlen("WX_DDE:") if ( cmd.Left(lenDdePrefix) == _T("WX_DDE#") ) {