X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38f68999028a8ff8d3cd0b1cf4a0fc94af805b0..04d4e6846ee93f0eb6f26bee8276ad2bb771a59f:/src/msw/utilsexc.cpp diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 5ba14aad62..226677c279 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -531,7 +531,7 @@ static bool wxExecuteDDE(const wxString& ddeServer, long wxExecute(const wxString& cmd, int flags, wxProcess *handler) { - wxCHECK_MSG( !cmd.IsEmpty(), 0, wxT("empty command in wxExecute") ); + wxCHECK_MSG( !cmd.empty(), 0, wxT("empty command in wxExecute") ); #if wxUSE_THREADS // for many reasons, the code below breaks down if it's called from another @@ -889,7 +889,7 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler) } wxAppTraits *traits = NULL; - void *cookie wxDUMMY_INITIALIZE(NULL); + void *cookie = NULL; if ( !(flags & wxEXEC_NODISABLE) ) { if ( wxTheApp )