From e3179c1ef509482ff9b4c7d4fb89d0b208e84000 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 27 May 2019 16:05:30 +0300 Subject: obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls --- plugins/TabSRMM/src/TSButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/TSButton.cpp') diff --git a/plugins/TabSRMM/src/TSButton.cpp b/plugins/TabSRMM/src/TSButton.cpp index c131168cc2..dbb373f302 100644 --- a/plugins/TabSRMM/src/TSButton.cpp +++ b/plugins/TabSRMM/src/TSButton.cpp @@ -159,7 +159,7 @@ static void PaintWorker(TSButtonCtrl *ctl, HDC hdcPaint) dat->m_pContainer->m_cachedToolbarDC, pt.x, 1, SRCCOPY); } if (ctl->hThemeToolbar && ctl->bIsThemed && 1 == dat->m_pContainer->m_bTBRenderingMode) { - if (bAero || PluginConfig.m_WinVerMajor >= 6) + if (bAero || IsWinVerVistaPlus()) DrawThemeBackground(ctl->hThemeToolbar, hdcMem, 8, RBStateConvert2Flat(state), &rcClient, &rcClient); else DrawThemeBackground(ctl->hThemeToolbar, hdcMem, TP_BUTTON, TBStateConvert2Flat(state), &rcClient, &rcClient); -- cgit v1.2.3