[Wine-patches] [eter-2.0.0] user32: Fix build.

Dmitry Timoshkov dmitry на baikal.ru
Сб Апр 28 09:04:54 MSK 2012


---
 dlls/user32/win.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index b40f325..ceb01f5 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -41,6 +41,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(win);
 #define NB_USER_HANDLES  ((LAST_USER_HANDLE - FIRST_USER_HANDLE + 1) >> 1)
 #define USER_HANDLE_TO_INDEX(hwnd) ((LOWORD(hwnd) - FIRST_USER_HANDLE) >> 1)
 
+DWORD CreationTime;
+
+static DWORD process_layout = ~0u;
+
 /**********************************************************************/
 
 /* helper for Get/SetWindowLong */
@@ -1509,6 +1513,10 @@ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module,
         HOOK_CallHooks( WH_SHELL, HSHELL_WINDOWCREATED, (WPARAM)hwnd, 0, TRUE );
 
     TRACE("created window %p\n", hwnd);
+
+    if (!(cs->style & WS_POPUP))
+        CreationTime = GetTickCount();
+
     return hwnd;
 
 failed:
-- 
1.7.9.4



Подробная информация о списке рассылки Wine-patches