Added patch to fix calculation of listbox size when horizontal scrollbar is present.

This commit is contained in:
Sebastian Lackner
2015-09-27 03:46:31 +02:00
parent f64d5ad94d
commit 8a0c14b145
4 changed files with 24 additions and 1 deletions

View File

@@ -271,6 +271,7 @@ patch_enable_all ()
enable_user32_DrawTextExW="$1"
enable_user32_GetSystemMetrics="$1"
enable_user32_Invalidate_Key_State="$1"
enable_user32_ListBox_Size="$1"
enable_user32_Mouse_Message_Hwnd="$1"
enable_user32_Painting="$1"
enable_user32_ScrollWindowEx="$1"
@@ -908,6 +909,9 @@ patch_enable ()
user32-Invalidate_Key_State)
enable_user32_Invalidate_Key_State="$2"
;;
user32-ListBox_Size)
enable_user32_ListBox_Size="$2"
;;
user32-Mouse_Message_Hwnd)
enable_user32_Mouse_Message_Hwnd="$2"
;;
@@ -5323,6 +5327,21 @@ if test "$enable_user32_Invalidate_Key_State" -eq 1; then
) >> "$patchlist"
fi
# Patchset user32-ListBox_Size
# |
# | This patchset fixes the following Wine bugs:
# | * [#38142] Fix calculation of listbox size when horizontal scrollbar is present
# |
# | Modified files:
# | * dlls/user32/listbox.c
# |
if test "$enable_user32_ListBox_Size" -eq 1; then
patch_apply user32-ListBox_Size/0001-user32-Fix-calculation-of-listbox-size-when-horizont.patch
(
echo '+ { "Michael Müller", "user32: Fix calculation of listbox size when horizontal scrollbar is present.", 1 },';
) >> "$patchlist"
fi
# Patchset user32-Mouse_Message_Hwnd
# |
# | This patchset fixes the following Wine bugs:

View File

@@ -0,0 +1 @@
Fixes: [38142] Fix calculation of listbox size when horizontal scrollbar is present