Nikolay Sivov : comctl32/updown: Don't change control z-order, this breaks auto buddy binding.
Alexandre Julliard
julliard at winehq.org
Wed Dec 23 10:04:11 CST 2009
Module: wine
Branch: master
Commit: 9ef90f480aac68e296c9d42be3ca03a2bd684af8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ef90f480aac68e296c9d42be3ca03a2bd684af8
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Tue Dec 22 22:01:31 2009 +0300
comctl32/updown: Don't change control z-order, this breaks auto buddy binding.
---
dlls/comctl32/updown.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c
index 776d72e..e87df87 100644
--- a/dlls/comctl32/updown.c
+++ b/dlls/comctl32/updown.c
@@ -868,13 +868,13 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam, L
SetWindowLongW (hwnd, GWL_STYLE, infoPtr->dwStyle & ~WS_BORDER);
if (!(infoPtr->dwStyle & UDS_HORZ))
SetWindowPos (hwnd, NULL, 0, 0, DEFAULT_WIDTH, pcs->cy,
- SWP_NOOWNERZORDER | SWP_NOMOVE);
+ SWP_NOOWNERZORDER | SWP_NOZORDER | SWP_NOMOVE);
/* Do we pick the buddy win ourselves? */
if (infoPtr->dwStyle & UDS_AUTOBUDDY)
UPDOWN_SetBuddy (infoPtr, GetWindow (hwnd, GW_HWNDPREV));
- OpenThemeData (hwnd, themeClass);
+ OpenThemeData (hwnd, themeClass);
TRACE("UpDown Ctrl creation, hwnd=%p\n", hwnd);
}
More information about the wine-cvs
mailing list