mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Added patch to properly render themed buttons when they are pressed.
This commit is contained in:
parent
dd18774526
commit
d5ddb4f687
@ -39,7 +39,7 @@ Wine. All those differences are also documented on the
|
||||
Included bug fixes and improvements
|
||||
-----------------------------------
|
||||
|
||||
**Bug fixes and features included in the next upcoming release [18]:**
|
||||
**Bug fixes and features included in the next upcoming release [19]:**
|
||||
|
||||
* Add stub for dwmapi.DwmUpdateThumbnailProperties
|
||||
* Add stub for winspool.SetPrinterW level 8 ([Wine Bug #24645](https://bugs.winehq.org/show_bug.cgi?id=24645))
|
||||
@ -55,6 +55,7 @@ Included bug fixes and improvements
|
||||
* Implement {Set,Get}ThreadGroupAffinity and related ntdll functions ([Wine Bug #36549](https://bugs.winehq.org/show_bug.cgi?id=36549))
|
||||
* Map EXDEV error code to STATUS_NOT_SAME_DEVICE
|
||||
* Properly close sockets when WSACleanup is called ([Wine Bug #18670](https://bugs.winehq.org/show_bug.cgi?id=18670))
|
||||
* Properly render themed buttons when they are pressed ([Wine Bug #37584](https://bugs.winehq.org/show_bug.cgi?id=37584))
|
||||
* Return a dummy BIOS name in Win32_BIOS record
|
||||
* SHFileOperation with FO_MOVE should create new directory on Vista+ ([Wine Bug #25207](https://bugs.winehq.org/show_bug.cgi?id=25207))
|
||||
* Translate flags in LaunchINFSectionW
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -33,6 +33,7 @@ wine-staging (1.7.51) UNRELEASED; urgency=low
|
||||
* Added patch to properly close sockets when WSACleanup is called.
|
||||
* Added patch to implement {Set,Get}ThreadGroupAffinity and related ntdll
|
||||
functions.
|
||||
* Added patch to properly render themed buttons when they are pressed.
|
||||
* Removed patch to fix bug in wineserver debug_children inheritance (accepted
|
||||
upstream).
|
||||
* Removed patch to use helper function for NtWaitForMultipleObjects and
|
||||
|
@ -0,0 +1,32 @@
|
||||
From 3651880f20c67b92c384f805191b1b5e3a3a8631 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Kim <ubuntor2000@gmail.com>
|
||||
Date: Sat, 5 Sep 2015 21:40:00 -0400
|
||||
Subject: comctl32: fix buttons becoming unthemed when pressed/released Fixes
|
||||
37584.
|
||||
|
||||
---
|
||||
dlls/comctl32/theme_button.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/dlls/comctl32/theme_button.c b/dlls/comctl32/theme_button.c
|
||||
index 327c76b..cffa092 100644
|
||||
--- a/dlls/comctl32/theme_button.c
|
||||
+++ b/dlls/comctl32/theme_button.c
|
||||
@@ -419,6 +419,14 @@ LRESULT CALLBACK THEMING_ButtonSubclassProc(HWND hwnd, UINT msg,
|
||||
break;
|
||||
}
|
||||
|
||||
+ case BM_SETCHECK:
|
||||
+ case BM_SETSTATE:
|
||||
+ theme = GetWindowTheme(hwnd);
|
||||
+ if (theme) {
|
||||
+ InvalidateRect(hwnd, NULL, FALSE);
|
||||
+ }
|
||||
+ return THEMING_CallOriginalClass(hwnd, msg, wParam, lParam);
|
||||
+
|
||||
default:
|
||||
/* Call old proc */
|
||||
return THEMING_CallOriginalClass(hwnd, msg, wParam, lParam);
|
||||
--
|
||||
2.5.1
|
||||
|
1
patches/comctl32-Button_Theming/definition
Normal file
1
patches/comctl32-Button_Theming/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [37584] Properly render themed buttons when they are pressed
|
@ -92,6 +92,7 @@ patch_enable_all ()
|
||||
enable_api_ms_win_crt_Stub_DLLs="$1"
|
||||
enable_browseui_Progress_Dialog="$1"
|
||||
enable_combase_String="$1"
|
||||
enable_comctl32_Button_Theming="$1"
|
||||
enable_comctl32_LoadIconMetric="$1"
|
||||
enable_configure_Absolute_RPATH="$1"
|
||||
enable_crypt32_CMS_Certificates="$1"
|
||||
@ -369,6 +370,9 @@ patch_enable ()
|
||||
combase-String)
|
||||
enable_combase_String="$2"
|
||||
;;
|
||||
comctl32-Button_Theming)
|
||||
enable_comctl32_Button_Theming="$2"
|
||||
;;
|
||||
comctl32-LoadIconMetric)
|
||||
enable_comctl32_LoadIconMetric="$2"
|
||||
;;
|
||||
@ -2292,6 +2296,21 @@ if test "$enable_combase_String" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset comctl32-Button_Theming
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#37584] Properly render themed buttons when they are pressed
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/comctl32/theme_button.c
|
||||
# |
|
||||
if test "$enable_comctl32_Button_Theming" -eq 1; then
|
||||
patch_apply comctl32-Button_Theming/0001-comctl32-fix-buttons-becoming-unthemed-when-pressed-.patch
|
||||
(
|
||||
echo '+ { "Samuel Kim", "comctl32: fix buttons becoming unthemed when pressed/released Fixes 37584.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset comctl32-LoadIconMetric
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user