]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / msw / utilsexc.cpp
index 6fc63c0ee1f7b22dca338f66e11afc58cf7a8601..2887ce5340db00c899e2c448fa181aa8eeee3765 100644 (file)
@@ -1010,7 +1010,7 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler,
                 wxFAIL_MSG( wxT("unexpected WaitForInputIdle() return code") );
                 // fall through
 
-            case -1:
+            case WAIT_FAILED:
                 wxLogLastError(wxT("WaitForInputIdle() in wxExecute"));
 
             case WAIT_TIMEOUT: