2 ===================================================================
3 --- propsheet.c (revision 25766)
4 +++ propsheet.c (working copy)
10 +EnumChildProc(HWND hwnd, LPARAM lParam)
13 + RealGetWindowClassW(hwnd, szType, 20);
15 + if (strcmpW(szType, WC_EDITW) == 0)
17 + if (IsWindowEnabled(hwnd) && IsWindowVisible(hwnd))
25 + EnumChildWindows(hwnd, EnumChildProc, 0);
31 /******************************************************************************
32 * PROPSHEET_SetWizButtons
34 @@ -2453,17 +2475,6 @@
35 EnableWindow(hwndNext, FALSE);
36 EnableWindow(hwndFinish, FALSE);
38 - /* set the default pushbutton to an enabled button */
39 - if (((dwFlags & PSWIZB_FINISH) || psInfo->hasFinish) && !(dwFlags & PSWIZB_DISABLEDFINISH))
40 - SendMessageW(hwndDlg, DM_SETDEFID, IDC_FINISH_BUTTON, 0);
41 - else if (dwFlags & PSWIZB_NEXT)
42 - SendMessageW(hwndDlg, DM_SETDEFID, IDC_NEXT_BUTTON, 0);
43 - else if (dwFlags & PSWIZB_BACK)
44 - SendMessageW(hwndDlg, DM_SETDEFID, IDC_BACK_BUTTON, 0);
46 - SendMessageW(hwndDlg, DM_SETDEFID, IDCANCEL, 0);
49 if (dwFlags & PSWIZB_BACK)
50 EnableWindow(hwndBack, TRUE);
52 @@ -2493,6 +2504,32 @@
54 else if (!(dwFlags & PSWIZB_DISABLEDFINISH))
55 EnableWindow(hwndFinish, TRUE);
57 + /* set the default pushbutton to an enabled button and give it focus */
58 + if (((dwFlags & PSWIZB_FINISH) || psInfo->hasFinish) && !(dwFlags & PSWIZB_DISABLEDFINISH))
60 + SendMessageW(hwndDlg, DM_SETDEFID, IDC_FINISH_BUTTON, 0);
61 + SetFocus(hwndFinish);
63 + else if (dwFlags & PSWIZB_NEXT)
65 + SendMessageW(hwndDlg, DM_SETDEFID, IDC_NEXT_BUTTON, 0);
68 + else if (dwFlags & PSWIZB_BACK)
70 + SendMessageW(hwndDlg, DM_SETDEFID, IDC_BACK_BUTTON, 0);
75 + SendMessageW(hwndDlg, DM_SETDEFID, IDCANCEL, 0);
76 + SetFocus(GetDlgItem(hwndDlg, IDCANCEL));
79 + /* Now try to find an edit control that deserves focus */
80 + EnumChildWindows(PropSheet_GetCurrentPageHwnd(hwndDlg), EnumChildProc, 0);
84 /******************************************************************************
86 ===================================================================
87 --- tooltips.c (revision 25790)
88 +++ tooltips.c (working copy)
89 @@ -2486,7 +2486,34 @@
90 TOOLTIPS_NotifyFormat (HWND hwnd, WPARAM wParam, LPARAM lParam)
92 FIXME ("hwnd=%p wParam=%lx lParam=%lx\n", hwnd, wParam, lParam);
93 + TOOLTIPS_INFO *infoPtr = TOOLTIPS_GetInfoPtr (hwnd);
94 + TTTOOL_INFO *toolPtr = infoPtr->tools;
97 + if (lParam == NF_QUERY)
99 + if (toolPtr->bNotifyUnicode)
101 + return NFR_UNICODE;
106 + else if (lParam == NF_REQUERY)
108 + nResult = (INT) SendMessageW (toolPtr->hwnd, WM_NOTIFYFORMAT,
109 + (WPARAM)hwnd, (LPARAM)NF_QUERY);
110 + if (nResult == NFR_ANSI) {
111 + toolPtr->bNotifyUnicode = FALSE;
112 + TRACE(" -- WM_NOTIFYFORMAT returns: NFR_ANSI\n");
113 + } else if (nResult == NFR_UNICODE) {
114 + toolPtr->bNotifyUnicode = TRUE;
115 + TRACE(" -- WM_NOTIFYFORMAT returns: NFR_UNICODE\n");
117 + TRACE (" -- WM_NOTIFYFORMAT returns: error!\n");
125 ===================================================================
126 --- D:/Wine-CVS/wine/dlls/comctl32/treeview.c Sun Jun 15 18:29:21 2008
127 +++ D:/ReactOS-Trunk/reactos/dll/win32/comctl32/treeview.c Sun Jun 15 18:27:14 2008
128 @@ -2826,8 +2826,6 @@
132 - TREEVIEW_UpdateScrollBars(infoPtr);
134 if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
136 TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);