diff options
author | George Hazan <ghazan@miranda.im> | 2019-11-04 14:36:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-11-04 14:36:44 +0300 |
commit | d1a660dcebdaeca43201d695a7d22454b620521e (patch) | |
tree | 3c8202436802837725ee17d1ff825fae1ed0aa6a /plugins/TabSRMM/src/msgoptions.cpp | |
parent | 8e8c80d9c99db7a0bf8272ad468fc7d5ea06dd8f (diff) |
tabSRMM:
- massive code cleaning;
- fixes #2099 (TabSRMM: add tab scrolling by mouse wheel);
- version bump
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index 14e0f156dc..c75ceaa92f 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -478,9 +478,8 @@ public: ReloadTabConfig();
for (TContainerData* p = pFirstContainer; p; p = p->pNext) {
- HWND hwndTab = GetDlgItem(p->m_hwnd, IDC_MSGTABS);
- TabCtrl_SetPadding(hwndTab, xpad.GetPosition(), ypad.GetPosition());
- RedrawWindow(hwndTab, nullptr, nullptr, RDW_INVALIDATE | RDW_ERASE);
+ TabCtrl_SetPadding(p->m_hwndTabs, xpad.GetPosition(), ypad.GetPosition());
+ ::RedrawWindow(p->m_hwndTabs, nullptr, nullptr, RDW_INVALIDATE | RDW_ERASE);
}
return true;
}
|