projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use generic wxListCtrl style for wxListMainWindow.
[wxWidgets.git]
/
src
/
common
/
selectdispatcher.cpp
diff --git
a/src/common/selectdispatcher.cpp
b/src/common/selectdispatcher.cpp
index 7e693c54caa20fbc7f42e8242575931f42a52c60..fd0a26938cb2e328204842cee0cf00022b990afe 100644
(file)
--- a/
src/common/selectdispatcher.cpp
+++ b/
src/common/selectdispatcher.cpp
@@
-220,8
+220,8
@@
int wxSelectDispatcher::DoSelect(wxSelectSets& sets, int timeout) const
if ( timeout != TIMEOUT_INFINITE )
{
ptv = &tv;
- tv.tv_sec = 0;
- tv.tv_usec =
timeout
*1000;
+ tv.tv_sec =
timeout / 100
0;
+ tv.tv_usec =
(timeout % 1000)
*1000;
}
else // no timeout
{