1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Merge pull request #13053 from berak:highgui_win32_waitkey

This commit is contained in:
Alexander Alekhin
2018-11-06 16:18:11 +00:00
+1 -1
View File
@@ -1976,7 +1976,7 @@ cvWaitKey( int delay )
MSG message;
int is_processed = 0;
if( delay <= 0 )
if( (delay <= 0) && hg_windows)
GetMessage(&message, 0, 0, 0);
else if( PeekMessage(&message, 0, 0, 0, PM_REMOVE) == FALSE )
{