diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-03 19:23:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-03 19:23:53 +0300 |
commit | 1516e9198b589f215d0fd7d52a6aecce2dc380f2 (patch) | |
tree | 3d378daa18f11e122d951fb80f79dfb770a986d0 /plugins/TabSRMM/src/container.cpp | |
parent | 7f1d7982f443ebd5ed80ae980145f911842a0668 (diff) |
tabSRMM:
- fixes #728;
- panel object aggregated instead of embedding;
- more UI buttons for the groupchat window;
- crazy translation optimization removed
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 2fb8fdc715..603123f58f 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -61,13 +61,13 @@ void TSAPI SetAeroMargins(TContainerData *pContainer) RECT rcWnd;
if (dat->m_bType == SESSIONTYPE_IM) {
- if (dat->m_pPanel->isActive())
+ if (dat->m_pPanel.isActive())
GetWindowRect(GetDlgItem(dat->GetHwnd(), IDC_LOG), &rcWnd);
else
GetWindowRect(dat->GetHwnd(), &rcWnd);
}
else {
- if (dat->m_pPanel->isActive())
+ if (dat->m_pPanel.isActive())
GetWindowRect(GetDlgItem(dat->GetHwnd(), IDC_LOG), &rcWnd);
else
GetWindowRect(dat->GetHwnd(), &rcWnd);
@@ -1077,8 +1077,8 @@ panel_found: POINT pt;
GetWindowRect(pContainer->hwndActive, &rc);
pt.x = rc.left + 10;
- pt.y = rc.top + dat->m_pPanel->getHeight() - 10;
- dat->m_pPanel->invokeConfigDialog(pt);
+ pt.y = rc.top + dat->m_pPanel.getHeight() - 10;
+ dat->m_pPanel.invokeConfigDialog(pt);
}
return 0;
@@ -1240,7 +1240,7 @@ panel_found: dat = (CTabBaseDlg*)GetWindowLongPtr(pContainer->hwndActive, GWLP_USERDATA);
if (dat && dat->m_bType == SESSIONTYPE_IM) {
if (dat->m_idle && pContainer->hwndActive && IsWindow(pContainer->hwndActive))
- dat->m_pPanel->Invalidate(TRUE);
+ dat->m_pPanel.Invalidate(TRUE);
}
else if (dat)
SendMessage(dat->GetHwnd(), GC_UPDATESTATUSBAR, 0, 0);
|