From 95b377d1410567985843168f6676f64d11666cd3 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 19 Mar 2013 21:22:38 +0000 Subject: - temporary revert of TabSRMM git-svn-id: http://svn.miranda-ng.org/main/trunk@4119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/infopanel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src/infopanel.cpp') diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index d01c40b1ac..5399d5a9bb 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -192,7 +192,7 @@ void CInfoPanel::showHide() const } Utils::showDlgControl(hwndDlg, IDC_PANELSPLITTER, m_active ? SW_SHOW : SW_HIDE); ::SendMessage(hwndDlg, WM_SIZE, 0, 0); - ::InvalidateRect( GetDlgItem(hwndDlg, IDC_CONTACTPIC), NULL, TRUE); + ::InvalidateRect(GetDlgItem(hwndDlg, IDC_CONTACTPIC), NULL, TRUE); ::SetAeroMargins(m_dat->pContainer); if (M->isAero()) ::InvalidateRect(GetParent(hwndDlg), NULL, FALSE); @@ -911,7 +911,7 @@ void CInfoPanel::showTip(UINT ctrlId, const LPARAM lParam) TCHAR szTitle[256]; HWND hwndDlg = m_dat->hwnd; - ::GetWindowRect( GetDlgItem(hwndDlg, ctrlId), &rc); + ::GetWindowRect(GetDlgItem(hwndDlg, ctrlId), &rc); ::SendMessage(m_dat->hwndTip, TTM_TRACKPOSITION, 0, (LPARAM)MAKELONG(rc.left, rc.bottom)); if (lParam) @@ -1090,7 +1090,7 @@ LRESULT CALLBACK CInfoPanel::avatarParentSubclass(HWND hwnd, UINT msg, WPARAM wP return TRUE; } - return mir_callNextSubclass(hwnd, CInfoPanel::avatarParentSubclass, msg, wParam, lParam); + return DefWindowProc(hwnd, msg, wParam, lParam); } /** @@ -1333,7 +1333,7 @@ int CInfoPanel::invokeConfigDialog(const POINT& pt) TranslateDialogDefault(m_hwndConfig); ::GetClientRect(m_hwndConfig, &rc); - ::GetWindowRect( GetDlgItem(m_dat->hwnd, m_isChat ? IDC_CHAT_LOG : IDC_LOG), &rcLog); + ::GetWindowRect(GetDlgItem(m_dat->hwnd, m_isChat ? IDC_CHAT_LOG : IDC_LOG), &rcLog); pt.x = rcLog.left; pt.y = rcLog.top; //::ScreenToClient(m_dat->pContainer->hwnd, &pt); -- cgit v1.2.3