diff options
| author | George Hazan <ghazan@miranda.im> | 2023-03-22 17:50:33 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2023-03-22 17:50:33 +0300 |
| commit | 8e6eec574c974340d503bf7db30bc47162574789 (patch) | |
| tree | 5398f242496b3809c5b3e86ba125d8d8e9ac1431 /src/core/stdmsg | |
| parent | ed54464972bcea62c617e1ade88722454b037ee0 (diff) | |
more flicker reduction
Diffstat (limited to 'src/core/stdmsg')
| -rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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;
|
