From 8e6eec574c974340d503bf7db30bc47162574789 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 22 Mar 2023 17:50:33 +0300 Subject: more flicker reduction --- src/core/stdmsg/src/msgdialog.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 8bc0d6cc3d..691afe4cc6 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -578,13 +578,8 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) CSuper::DlgProc(uMsg, wParam, lParam); // call built-in resizer SetButtonsPos(); - m_pLog->Resize(); - InvalidateRect(m_pOwner->m_hwndStatus, nullptr, true); - RedrawWindow(m_message.GetHwnd(), nullptr, nullptr, RDW_INVALIDATE); - RedrawWindow(m_btnOk.GetHwnd(), nullptr, nullptr, RDW_INVALIDATE); - if (g_plugin.bShowAvatar && m_avatarPic) - RedrawWindow(m_avatar.GetHwnd(), nullptr, nullptr, RDW_INVALIDATE); + InvalidateRect(m_pOwner->m_hwndStatus, nullptr, false); } return TRUE; -- cgit v1.2.3