Michael Stefaniuc : comctl32: Remove an one-off macro.
Alexandre Julliard
julliard at winehq.org
Fri Feb 13 08:58:52 CST 2009
Module: wine
Branch: master
Commit: 9b626c229187f834560c894f150f3ef63c6d3642
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b626c229187f834560c894f150f3ef63c6d3642
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri Feb 13 10:20:44 2009 +0100
comctl32: Remove an one-off macro.
---
dlls/comctl32/flatsb.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/flatsb.c b/dlls/comctl32/flatsb.c
index cabcdfc..174e22d 100644
--- a/dlls/comctl32/flatsb.c
+++ b/dlls/comctl32/flatsb.c
@@ -46,8 +46,6 @@ typedef struct
DWORD dwDummy; /* just to keep the compiler happy ;-) */
} FLATSB_INFO, *LPFLATSB_INFO;
-#define FlatSB_GetInfoPtr(hwnd) ((FLATSB_INFO*)GetWindowLongPtrW (hwnd, 0))
-
/***********************************************************************
* InitializeFlatSB (COMCTL32.@)
@@ -245,7 +243,7 @@ FlatSB_Destroy (HWND hwnd, WPARAM wParam, LPARAM lParam)
static LRESULT WINAPI
FlatSB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
- if (!FlatSB_GetInfoPtr(hwnd) && (uMsg != WM_CREATE))
+ if (!GetWindowLongPtrW(hwnd, 0) && (uMsg != WM_CREATE))
return DefWindowProcW( hwnd, uMsg, wParam, lParam );
switch (uMsg)
More information about the wine-cvs
mailing list