From 62cb1ae6bfa1322c342cd2eb7d34285e80437dc3 Mon Sep 17 00:00:00 2001 From: Gregor Brunmar Date: Wed, 3 Oct 2007 19:34:34 +0000 Subject: [PATCH] * Fixed bug 2456 (propsheet's apply button enabling at the wrong time) See issue #2456 for more details. svn path=/trunk/; revision=29383 --- reactos/dll/win32/comctl32/comctl32_ros.diff | 9 +++++++++ reactos/dll/win32/comctl32/propsheet.c | 2 ++ 2 files changed, 11 insertions(+) diff --git a/reactos/dll/win32/comctl32/comctl32_ros.diff b/reactos/dll/win32/comctl32/comctl32_ros.diff index e703699141e..344d972cd24 100644 --- a/reactos/dll/win32/comctl32/comctl32_ros.diff +++ b/reactos/dll/win32/comctl32/comctl32_ros.diff @@ -111,6 +111,15 @@ Index: propsheet.c } /****************************************************************************** +@@ -3555,6 +3558,8 @@ + * from which to switch to the next page */ + SendMessageW(hwndTabCtrl, TCM_SETCURSEL, psInfo->active_page, 0); + ++ PROPSHEET_UnChanged(hwnd, (HWND)wParam); ++ + return TRUE; + } + Index: tooltips.c =================================================================== --- tooltips.c (revision 25790) diff --git a/reactos/dll/win32/comctl32/propsheet.c b/reactos/dll/win32/comctl32/propsheet.c index b740fff6e40..83ab8318f3b 100644 --- a/reactos/dll/win32/comctl32/propsheet.c +++ b/reactos/dll/win32/comctl32/propsheet.c @@ -3558,6 +3558,8 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) * from which to switch to the next page */ SendMessageW(hwndTabCtrl, TCM_SETCURSEL, psInfo->active_page, 0); + PROPSHEET_UnChanged(hwnd, (HWND)wParam); + return TRUE; }