changeset 17126:e5f2f50744cd

WM_PAINT is the "expose" event, not WM_ACTIVATE
author reimar
date Wed, 07 Dec 2005 15:53:02 +0000
parents 5a7b066f3366
children f650267ecc3a
files libvo/w32_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/w32_common.c	Wed Dec 07 15:05:23 2005 +0000
+++ b/libvo/w32_common.c	Wed Dec 07 15:53:02 2005 +0000
@@ -25,7 +25,7 @@
 
 static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
     switch (message) {
-	case WM_ACTIVATE:
+	case WM_PAINT:
 	    event_flags |= VO_EVENT_EXPOSE;
 	    break;
 	case WM_SIZE: