summaryrefslogtreecommitdiff
path: root/vcl/inc/win
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-12 16:36:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-12 20:06:19 +0000
commit8ab24f26626a65e1ce9e1ff8c4eb75a20e4b7629 (patch)
treed7aed3bbfb97eeadec4b055ee6abab84c73f325a /vcl/inc/win
parent019c49ec96afc3ea0c50e99881f5a6324b4ec732 (diff)
tdf#152994 only query dark mode in Windows >= 10.0.18362
Change-Id: I8d8bd368d9d1ee38dac96dd369484ec74ce4835a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145414 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/win')
-rw-r--r--vcl/inc/win/salframe.h1
-rw-r--r--vcl/inc/win/salinst.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/win/salframe.h b/vcl/inc/win/salframe.h
index bbf3506a723f..dedac6906467 100644
--- a/vcl/inc/win/salframe.h
+++ b/vcl/inc/win/salframe.h
@@ -148,6 +148,7 @@ public:
void ImplSalGetWorkArea( HWND hWnd, RECT *pRect, const RECT *pParentRect );
bool UseDarkMode();
+bool OSSupportsDarkMode();
// get foreign key names
namespace vcl_sal {
diff --git a/vcl/inc/win/salinst.h b/vcl/inc/win/salinst.h
index 35f2365fb166..7af6e007b562 100644
--- a/vcl/inc/win/salinst.h
+++ b/vcl/inc/win/salinst.h
@@ -85,7 +85,6 @@ public:
SalFrame* ImplSalCreateFrame( WinSalInstance* pInst, HWND hWndParent, SalFrameStyleFlags nSalFrameStyle );
SalObject* ImplSalCreateObject( WinSalInstance* pInst, WinSalFrame* pParent );
HWND ImplSalReCreateHWND( HWND hWndParent, HWND oldhWnd, bool bAsChild );
-bool OSSupportsDarkMode();
#endif // INCLUDED_VCL_INC_WIN_SALINST_H