comctl32: Replade (HWND)-1 with HWND_TOPMOST.

Michael Stefaniuc mstefani at redhat.de
Thu Mar 4 15:48:56 CST 2010


---
 dlls/comctl32/comctl32undoc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index ff94051..e5523a5 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -1088,7 +1088,7 @@ static LRESULT DoNotify (const NOTIFYDATA *lpNotify, UINT uCode, LPNMHDR lpHdr)
     if (!lpNotify->hwndTo)
 	return 0;
 
-    if (lpNotify->hwndFrom == (HWND)-1) {
+    if (lpNotify->hwndFrom == HWND_TOPMOST) {
 	lpNmh = lpHdr;
 	idFrom = lpHdr->idFrom;
     }
-- 
1.7.0.1



More information about the wine-patches mailing list