summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-21 10:54:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-21 13:01:11 +0100
commitc51140847efa90897253011bd0382a32440d73e3 (patch)
tree5b99fb49f61d31e7af833815ea8db1865f2d586b /vcl
parent095f5910e3781e5e0a3f9d09821d2be6be48abff (diff)
Related: tdf#118320 swap TILES_SELECTED and TILES_FOCUSED
so the selected tab gets the same bg as the tab page Change-Id: I26222cf755c4c30f8712fb7a4690c84784d9b508 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131898 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/gdi/salnativewidgets-luna.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx
index b58731f1db42..a544bf03c77d 100644
--- a/vcl/win/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/gdi/salnativewidgets-luna.cxx
@@ -825,13 +825,13 @@ static bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc,
iState = PBS_DISABLED;
break;
case TILES_SELECTED:
- iState = PBS_PRESSED;
+ iState = PBS_DEFAULTED;
break;
case TILES_HOT:
iState = PBS_HOT;
break;
case TILES_FOCUSED:
- iState = PBS_DEFAULTED;
+ iState = PBS_PRESSED;
break;
default:
iState = PBS_NORMAL;