]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed unused variable (replaces patch 788090)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Aug 2003 22:33:59 +0000 (22:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Aug 2003 22:33:59 +0000 (22:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utilsexc.cpp

index f1408c299e87e07c98c487f75804501ed7011c0f..7046329ee5a42f54e3b9692c9548d589d7d99d08 100644 (file)
@@ -852,6 +852,12 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
                 // ok, process ready to accept DDE requests
                 ok = wxExecuteDDE(ddeServer, ddeTopic, ddeCommand);
         }
                 // ok, process ready to accept DDE requests
                 ok = wxExecuteDDE(ddeServer, ddeTopic, ddeCommand);
         }
+
+        if ( !ok )
+        {
+            wxLogDebug(_T("Failed to send DDE request to the process \"%s\"."),
+                       cmd.c_str());
+        }
     }
 #endif // wxUSE_IPC
 
     }
 #endif // wxUSE_IPC