From d8a31243e418320cc80972477c4becbd7753686d Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Mon, 8 Mar 2010 17:21:54 +0000 Subject: [PATCH] Added a "fix" in WindowImplWin32 that avoids weird behaviors with some configurations git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1443 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/Win32/WindowImplWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index 1aaf2801..506cb734 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -273,7 +273,7 @@ void WindowImplWin32::ProcessEvents() if (!myCallback) { MSG Message; - while (PeekMessage(&Message, myHandle, 0, 0, PM_REMOVE)) + while (PeekMessage(&Message, NULL, 0, 0, PM_REMOVE)) { TranslateMessage(&Message); DispatchMessage(&Message);