diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-27 16:05:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-27 16:05:30 +0300 |
commit | e3179c1ef509482ff9b4c7d4fb89d0b208e84000 (patch) | |
tree | 1977dabbd3ff94309a888e299ea4a938633d00d0 /plugins/TabSRMM/src/TSButton.cpp | |
parent | 3a85dd706f5a03164f402f7d350f03bba5e6f764 (diff) |
obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls
Diffstat (limited to 'plugins/TabSRMM/src/TSButton.cpp')
-rw-r--r-- | plugins/TabSRMM/src/TSButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|