summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-11 12:27:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-11 12:27:21 +0300
commite02f1e05b363226a48fe9a4b151748a5cbb295d9 (patch)
treee49e428ab703459d65ef7829187dd17b9af4154c /plugins/TabSRMM/src/globals.cpp
parent432b115c1eaf6f74d7d4d8ac580f5de39c16a533 (diff)
GC_UPDATETITLE replaced with CSrmmBaseDlg::UpdateTitle
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index f7be82207b..3634081ff7 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -405,7 +405,7 @@ int CGlobals::DBSettingChanged(WPARAM hContact, LPARAM lParam)
if (!strcmp(setting, "MirVer"))
PostMessage(hwnd, DM_CLIENTCHANGED, 0, 0);
if (fChanged || fExtendedStatusChange)
- PostMessage(hwnd, DM_UPDATETITLE, 0, 1);
+ c->getDat()->UpdateTitle();
if (fExtendedStatusChange)
PostMessage(hwnd, DM_UPDATESTATUSMSG, 0, 0);
if (fChanged) {
@@ -449,7 +449,7 @@ int CGlobals::MetaContactEvent(WPARAM hContact, LPARAM)
c->updateMeta();
CTabBaseDlg *pDlg = c->getDat();
if (pDlg) {
- ::PostMessage(pDlg->GetHwnd(), DM_UPDATETITLE, 0, 1);
+ pDlg->UpdateTitle();
::PostMessage(pDlg->GetHwnd(), DM_UPDATEPICLAYOUT, 0, 0);
InvalidateRect(pDlg->GetHwnd(), 0, TRUE); // force redraw
}