diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-14 20:27:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-14 20:27:44 +0300 |
commit | 0edc6006e17f896324d4011acdf5e16162572908 (patch) | |
tree | 0894285d03393bbb891a6bac94f2fbda07ea40cc /plugins/TabSRMM/src/msgdlgutils.cpp | |
parent | b408d9e8208c426c263c69602edfa8a4978fa3bf (diff) |
tabSRMM:
- fixes #735 (crazy dark magic of Windows);
- common code of window creation moved to CTabBaseDlg::OnInitDialog();
- DM_REFRESHTABINDEX replaced with the call of TContainerData::UpdateTabs();
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 368a29f5e7..8fd3b87740 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -90,7 +90,7 @@ void TSAPI RearrangeTab(HWND hwndDlg, const CTabBaseDlg *dat, int iMode, BOOL fS TabCtrl_DeleteItem(hwndTab, dat->m_iTabID);
item.lParam = (LPARAM)hwndDlg;
TabCtrl_InsertItem(hwndTab, newIndex, &item);
- BroadCastContainer(dat->m_pContainer, DM_REFRESHTABINDEX, 0, 0);
+ dat->m_pContainer->UpdateTabs();
ActivateTabFromHWND(hwndTab, hwndDlg);
if (fSavePos)
db_set_dw(dat->m_hContact, SRMSGMOD_T, "tabindex", newIndex * 100);
|