Fixed so this file will compile if wxUSE_IPC is 0 (previous fix broke something else).
authorGeorge Tasker <gtasker@allenbrook.com>
Tue, 18 Jan 2000 22:54:55 +0000 (22:54 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Tue, 18 Jan 2000 22:54:55 +0000 (22:54 +0000)
Changed _T() calls to wxT() calls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utilsexc.cpp

index 9429ecb4f7f45c1613a6516d8ce9cc12fff4d731..12a78c001a5370194cfcd84e6cbc42de2f9c35df 100644 (file)
@@ -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:<command>:DDE_SERVER:DDE_TOPIC:DDE_COMMAND in which
     // case we execute just <command> 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#") )
     {