highgui(win32): improve waitKey() timeout condition
authorAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 7 Jun 2018 16:25:01 +0000 (19:25 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 7 Jun 2018 16:31:08 +0000 (19:31 +0300)
commit8620bd5a84b03933fe24a3d8ba50715b617837b0
tree9a2baf13beedb31f9e6288859d1e6d7790132d6a
parent7175f257b513fd1e45d108dda2d1f56575d839e8
highgui(win32): improve waitKey() timeout condition

- use cv::getTickCount() instead of Win32 GetTickCount()
- process message queue before timeout exit
modules/highgui/src/window_w32.cpp