]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
Don't assert in wxDateTime::Format("%p") in locales not using AM/PM.
[wxWidgets.git] / src / msw / utilsexc.cpp
index 6fc63c0ee1f7b22dca338f66e11afc58cf7a8601..c2cc31a73b0295b4446b9c1e47d0163e9c3e4cb1 100644 (file)
@@ -82,9 +82,7 @@
     #include "wx/dde.h"         // for WX_DDE hack in wxExecute
 #endif // wxUSE_IPC
 
-// implemented in utils.cpp
-extern "C" WXDLLIMPEXP_BASE HWND
-wxCreateHiddenWindow(LPCTSTR *pclassname, LPCTSTR classname, WNDPROC wndproc);
+#include "wx/msw/private/hiddenwin.h"
 
 // ----------------------------------------------------------------------------
 // constants
@@ -1010,7 +1008,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: