diff options
Diffstat (limited to 'plugins/Scriver/src/msgutils.cpp')
-rw-r--r-- | plugins/Scriver/src/msgutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgutils.cpp b/plugins/Scriver/src/msgutils.cpp index 663f5bfde8..60c89a3801 100644 --- a/plugins/Scriver/src/msgutils.cpp +++ b/plugins/Scriver/src/msgutils.cpp @@ -431,7 +431,7 @@ void CMsgDialog::UpdateIcon() void CMsgDialog::UpdateNickList() { - m_nickList.SendMsg(WM_SETREDRAW, FALSE, 0); + m_nickList.SetDraw(false); m_nickList.ResetContent(); for (auto &ui : m_si->getUserList()) { char szIndicator = SM_GetStatusIndicator(m_si, ui); @@ -442,7 +442,7 @@ void CMsgDialog::UpdateNickList() } else m_nickList.AddString(ui->pszNick); } - m_nickList.SendMsg(WM_SETREDRAW, TRUE, 0); + m_nickList.SetDraw(true); InvalidateRect(m_nickList.GetHwnd(), nullptr, FALSE); UpdateWindow(m_nickList.GetHwnd()); UpdateTitle(); |