projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added support for add/insert/deleting many items at once in wxArray (patch 548050)
[wxWidgets.git]
/
src
/
msw
/
utilsexc.cpp
diff --git
a/src/msw/utilsexc.cpp
b/src/msw/utilsexc.cpp
index db09033338e6bc8ac10f3077eb37146cf0741e49..21b74439c33f7289e21634a72d3428fe4a1c592e 100644
(file)
--- a/
src/msw/utilsexc.cpp
+++ b/
src/msw/utilsexc.cpp
@@
-735,7
+735,11
@@
long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
#endif // wxUSE_GUI
while ( data->state )
+ {
+ // don't take 100% of the CPU
+ ::Sleep(500);
wxYield();
+ }
#if wxUSE_GUI
}